X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=d50388e775f624421bc502cb1fc1e3c1ea4b0c2a;hb=f0e5332b4ae5504f167d75e853c13e6f718ce70a;hp=e2adf29fffa5ebcf8f3202975cb517b2e0ec49f5;hpb=370b5ba27d77c3eecb984f2efa64a4263d454112;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index e2adf29f..d50388e7 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2857,7 +2857,7 @@ static void client_iconify_recursive(ObClient *self, void client_iconify(ObClient *self, gboolean iconic, gboolean curdesk) { - if (self->functions & OB_CLIENT_FUNC_ICONIFY) { + if (self->functions & OB_CLIENT_FUNC_ICONIFY || !iconic) { /* move up the transient chain as far as possible first */ self = client_search_top_normal_parent(self); client_iconify_recursive(self, iconic, curdesk);