summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-10 06:31:38 +0000
committerDana Jansens <danakj@orodu.net>2007-05-10 06:31:38 +0000
commit176e6cea6e1a52c951bac73c17fe49e77cf197a1 (patch)
tree3949391e14ce5ccc8f81bb9a54d8b129d8d04c32
parent9d7215af4a8cf45f0a2c7d72803716ceb417407b (diff)
going down the order so look for a lower layer
-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 */
}
}