]> Dogcows Code - chaz/openbox/commitdiff
this had changed for the animation stuff but it is no longer needed i think. also...
authorDana Jansens <danakj@orodu.net>
Mon, 7 May 2007 03:10:05 +0000 (03:10 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 7 May 2007 03:10:05 +0000 (03:10 +0000)
openbox/client.c

index 52dfaaa3aa1434d15c07e9eacb5bfefdc9b92a89..9c06e49e34d38e0bc50ee83b011eea47f25adab1 100644 (file)
@@ -2143,7 +2143,7 @@ static void client_change_wm_state(ObClient *self)
 
     old = self->wmstate;
 
-    if (self->shaded || !self->frame->visible)
+    if (self->shaded || self->iconic)
         self->wmstate = IconicState;
     else
         self->wmstate = NormalState;
@@ -2303,23 +2303,6 @@ gboolean client_should_show(ObClient *self)
         return FALSE;
     if (client_normal(self) && screen_showing_desktop)
         return FALSE;
-    /*
-    if (self->transient_for) {
-        if (self->transient_for != OB_TRAN_GROUP)
-            return client_should_show(self->transient_for);
-        else {
-            GSList *it;
-
-            for (it = self->group->members; it; it = g_slist_next(it)) {
-                ObClient *c = it->data;
-                if (c != self && !c->transient_for) {
-                    if (client_should_show(c))
-                        return TRUE;
-                }
-            }
-        }
-    }
-    */
     if (self->desktop == screen_desktop || self->desktop == DESKTOP_ALL)
         return TRUE;
     
This page took 0.027566 seconds and 4 git commands to generate.