From: Dana Jansens Date: Fri, 28 Mar 2003 03:22:23 +0000 (+0000) Subject: dont lower below lower layers X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=69abb86cb0876a26d5d34da9d9c1de7d968cafc2;p=chaz%2Fopenbox dont lower below lower layers --- diff --git a/openbox/stacking.c b/openbox/stacking.c index 1d296e5f..72b7c03b 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -102,7 +102,7 @@ void stacking_lower(Client *client) } else { while (it != stacking_list) { Client *c = it->data; - if (client->layer >= c->layer) + if (client->layer <= c->layer) break; it = it->prev; }