]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus.c
skip windows which skip the taskbar.
[chaz/openbox] / openbox / focus.c
index aac6675e3a1fc7ccf18aaf0b64ce27bb822116cd..c9c1895539d101b1e31bbe416ea921eb5c71c758 100644 (file)
@@ -480,7 +480,8 @@ static gboolean valid_focus_target(ObClient *ft, gboolean dock_windows)
                 ft->type == OB_CLIENT_TYPE_MENU ||
                 ft->type == OB_CLIENT_TYPE_UTILITY)));
     ok = ok && (ft->can_focus || ft->focus_notify);
-    ok = ok && !ft->skip_pager;
+    if (!dock_windows) /* use dock windows that skip taskbar too */
+        ok = ok && !ft->skip_taskbar;
     ok = ok && (ft->desktop == screen_desktop || ft->desktop == DESKTOP_ALL);
     ok = ok && ft == client_focus_target(ft);
     return ok;
This page took 0.021819 seconds and 4 git commands to generate.