From 1d9c0e8b87e853a49dadc90c4c1ae12e77c63360 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 2 May 2007 21:53:27 +0000 Subject: [PATCH] skip windows which skip the taskbar. don't skip them for cycling dock windows. --- openbox/focus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbox/focus.c b/openbox/focus.c index aac6675e..c9c18955 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -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; -- 2.39.2