From 176e6cea6e1a52c951bac73c17fe49e77cf197a1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 May 2007 06:31:38 +0000 Subject: [PATCH] going down the order so look for a lower layer --- openbox/stacking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ } } -- 2.39.2