]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
make helper windows share desktops with all their application top level windows
[chaz/openbox] / openbox / focus.c
index eea8d148579042319fed27e2fc72e1413f28c2c3..15c036dca7f49bc00b75e42a93aca4f9b8572579 100644 (file)
@@ -562,10 +562,10 @@ static gboolean valid_focus_target(ObClient *ft,
 
     /* it's not set to skip the taskbar (unless it is a type that would be
        expected to set this hint */
-    ok = ok && (!(ft->type == OB_CLIENT_TYPE_DOCK ||
-                  ft->type == OB_CLIENT_TYPE_TOOLBAR ||
-                  ft->type == OB_CLIENT_TYPE_MENU ||
-                  ft->type == OB_CLIENT_TYPE_UTILITY) ||
+    ok = ok && ((ft->type == OB_CLIENT_TYPE_DOCK ||
+                 ft->type == OB_CLIENT_TYPE_TOOLBAR ||
+                 ft->type == OB_CLIENT_TYPE_MENU ||
+                 ft->type == OB_CLIENT_TYPE_UTILITY) ||
                 !ft->skip_taskbar);
 
     /* it's not going to just send fous off somewhere else (modal window) */
This page took 0.021111 seconds and 4 git commands to generate.