X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fstacking.c;h=c4fb06a2b3d81bc4cb67d8b9244803acd7b1c893;hb=2864a761c7fb4fd0cd04af22ba02d4b83a970a96;hp=564b995e2d8f292bc6bd26fb6802bb96ac552b9c;hpb=220015e56e0b8ce1a00bd0f6e89bc25bb6e73cbf;p=chaz%2Fopenbox diff --git a/openbox/stacking.c b/openbox/stacking.c index 564b995e..c4fb06a2 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -530,7 +530,7 @@ static gboolean stacking_occludes(ObClient *client, ObClient *sibling) occludes = TRUE; break; } - else if (c->layer > client->layer) + else if (c->layer < client->layer) break; /* we past its layer */ } }