don't copy the desktop from group parents when they are omnipresent

This commit is contained in:
Dana Jansens 2007-06-04 20:46:49 +00:00
parent 62d9a34138
commit 9a7c4de2eb

View file

@ -1152,6 +1152,9 @@ static void client_get_desktop(ObClient *self)
for (it = self->group->members; it; it = g_slist_next(it)) { for (it = self->group->members; it; it = g_slist_next(it)) {
ObClient *c = it->data; ObClient *c = it->data;
if (c->desktop == DESKTOP_ALL) continue;
if (c != self) { if (c != self) {
if (first) { if (first) {
all = c->desktop; all = c->desktop;