From: Dana Jansens Date: Thu, 3 May 2007 00:50:40 +0000 (+0000) Subject: when deiconifying, deiconify all transients, not just direct ones X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d7108df02b18c309e06fa1d12987e9540486fcef;p=chaz%2Fopenbox when deiconifying, deiconify all transients, not just direct ones --- diff --git a/openbox/client.c b/openbox/client.c index 27470d34..600acfcc 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2633,10 +2633,11 @@ static void client_iconify_recursive(ObClient *self, 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)) 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); }