]> Dogcows Code - chaz/openbox/commitdiff
only preserve focus for normal omnipresent windows
authorDana Jansens <danakj@orodu.net>
Fri, 25 May 2007 23:42:44 +0000 (23:42 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 25 May 2007 23:42:44 +0000 (23:42 +0000)
openbox/screen.c

index b7cb41c85d8722a040f396598d19fc59bf69f9d4..f424ca041c13480c076eea71840da70878bb3649 100644 (file)
@@ -533,7 +533,8 @@ void screen_set_desktop(guint num, gboolean dofocus)
         }
     }
 
-    if (focus_client && (focus_client->desktop == DESKTOP_ALL ||
+    if (focus_client && ((client_normal(focus_client) &&
+                          focus_client->desktop == DESKTOP_ALL) ||
                          focus_client->desktop == screen_desktop))
         dofocus = FALSE;
 
This page took 0.025401 seconds and 4 git commands to generate.