From d7108df02b18c309e06fa1d12987e9540486fcef Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 3 May 2007 00:50:40 +0000 Subject: [PATCH] when deiconifying, deiconify all transients, not just direct ones --- openbox/client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } -- 2.45.2