]> Dogcows Code - chaz/openbox/commitdiff
windows on other desktops are iconic state too
authorDana Jansens <danakj@orodu.net>
Mon, 7 May 2007 03:16:45 +0000 (03:16 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 7 May 2007 03:16:45 +0000 (03:16 +0000)
openbox/client.c

index 9c06e49e34d38e0bc50ee83b011eea47f25adab1..3b66a836f629d17b8903fa0546e68ee639b8bcda 100644 (file)
@@ -2143,9 +2143,11 @@ static void client_change_wm_state(ObClient *self)
 
     old = self->wmstate;
 
-    if (self->shaded || self->iconic)
+    if (self->shaded || self->iconic ||
+        (self->desktop != DESKTOP_ALL && self->desktop != screen_desktop))
+    {
         self->wmstate = IconicState;
-    else
+    else
         self->wmstate = NormalState;
 
     if (old != self->wmstate) {
This page took 0.028847 seconds and 4 git commands to generate.