From: Dana Jansens Date: Sat, 10 Mar 2007 23:09:27 +0000 (+0000) Subject: skip windows in alt-tab that have SKIP_PAGER set. perhaps this is a better metric... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;ds=sidebyside;h=ccebe3c441a67c4a15de19a14d7b8636a8d0329c;hp=42c6cdd0c89412fa8e72e1a820a43a035487e6d7;p=chaz%2Fopenbox skip windows in alt-tab that have SKIP_PAGER set. perhaps this is a better metric.. also this is for mikachu <3 --- diff --git a/openbox/focus.c b/openbox/focus.c index 09b78753..02832cea 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -521,6 +521,7 @@ static gboolean valid_focus_target(ObClient *ft) ft->type == OB_CLIENT_TYPE_MENU || ft->type == OB_CLIENT_TYPE_UTILITY))) && ((ft->can_focus || ft->focus_notify) && + !ft->skip_taskbar && (ft->desktop == screen_desktop || ft->desktop == DESKTOP_ALL)) && ft == client_focus_target(ft)) return TRUE;