don't copy the desktop from group parents when they are omnipresent
authorDana Jansens <danakj@orodu.net>
Mon, 4 Jun 2007 20:46:49 +0000 (20:46 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 4 Jun 2007 20:46:49 +0000 (20:46 +0000)
openbox/client.c

index fa67e36..ee8001c 100644 (file)
@@ -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;