]> Dogcows Code - chaz/openbox/commitdiff
but deiconify
authorDana Jansens <danakj@orodu.net>
Tue, 8 May 2007 22:36:52 +0000 (22:36 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 8 May 2007 22:36:52 +0000 (22:36 +0000)
openbox/client.c

index e2adf29fffa5ebcf8f3202975cb517b2e0ec49f5..d50388e775f624421bc502cb1fc1e3c1ea4b0c2a 100644 (file)
@@ -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);
This page took 0.028951 seconds and 4 git commands to generate.