From 9a7c4de2eb73826da9b4415541735f8d7c161c23 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 4 Jun 2007 20:46:49 +0000 Subject: [PATCH] don't copy the desktop from group parents when they are omnipresent --- openbox/client.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2