going down the order so look for a lower layer

This commit is contained in:
Dana Jansens 2007-05-10 06:31:38 +00:00
parent 9d7215af4a
commit 176e6cea6e

View file

@ -530,7 +530,7 @@ static gboolean stacking_occludes(ObClient *client, ObClient *sibling)
occludes = TRUE; occludes = TRUE;
break; break;
} }
else if (c->layer > client->layer) else if (c->layer < client->layer)
break; /* we past its layer */ break; /* we past its layer */
} }
} }