X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fstacking.c;h=72b7c03ba51856cf9b123326b38f429ffc1692aa;hb=ee2368044dd077207962f71194158265c74fe74e;hp=1d296e5f604ab5bb0a4b06517711bb0d1767fd01;hpb=990b74a49e45e5715c131328b7e1464c5f5ccf6e;p=chaz%2Fopenbox 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; }