when deiconifying, deiconify all transients, not just direct ones
This commit is contained in:
parent
f2890f35b7
commit
d7108df02b
1 changed files with 3 additions and 2 deletions
|
@ -2633,10 +2633,11 @@ static void client_iconify_recursive(ObClient *self,
|
||||||
screen_update_areas();
|
screen_update_areas();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* iconify all direct transients */
|
/* iconify all direct transients, and deiconify all transients
|
||||||
|
(non-direct too) */
|
||||||
for (it = self->transients; it; it = g_slist_next(it))
|
for (it = self->transients; it; it = g_slist_next(it))
|
||||||
if (it->data != self)
|
if (it->data != self)
|
||||||
if (client_is_direct_child(self, it->data))
|
if (client_is_direct_child(self, it->data) || !iconic)
|
||||||
client_iconify_recursive(it->data, iconic, curdesk);
|
client_iconify_recursive(it->data, iconic, curdesk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue