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; }