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