From: Dana Jansens Date: Wed, 2 May 2007 21:53:27 +0000 (+0000) Subject: skip windows which skip the taskbar. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1d9c0e8b87e853a49dadc90c4c1ae12e77c63360;p=chaz%2Fopenbox skip windows which skip the taskbar. don't skip them for cycling dock windows. --- 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;