]> Dogcows Code - chaz/openbox/commitdiff
skip windows which skip the taskbar.
authorDana Jansens <danakj@orodu.net>
Wed, 2 May 2007 21:53:27 +0000 (21:53 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 2 May 2007 21:53:27 +0000 (21:53 +0000)
don't skip them for cycling dock windows.

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.0221 seconds and 4 git commands to generate.