]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
only preserve focus for normal omnipresent windows
[chaz/openbox] / 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.021444 seconds and 4 git commands to generate.