From: Dana Jansens Date: Thu, 10 May 2007 06:31:38 +0000 (+0000) Subject: going down the order so look for a lower layer X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=176e6cea6e1a52c951bac73c17fe49e77cf197a1;p=chaz%2Fopenbox going down the order so look for a lower layer --- 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 */ } }