summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/client.c b/openbox/client.c
index fa67e367..ee8001c9 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1152,6 +1152,9 @@ static void client_get_desktop(ObClient *self)
for (it = self->group->members; it; it = g_slist_next(it)) {
ObClient *c = it->data;
+
+ if (c->desktop == DESKTOP_ALL) continue;
+
if (c != self) {
if (first) {
all = c->desktop;