summaryrefslogtreecommitdiff
path: root/openbox/stacking.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/stacking.c')
-rw-r--r--openbox/stacking.c2
1 files changed, 1 insertions, 1 deletions
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;
}