diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-02 21:53:27 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-02 21:53:27 +0000 |
| commit | 1d9c0e8b87e853a49dadc90c4c1ae12e77c63360 (patch) | |
| tree | a69a29d61246e7bb8efbbe6bcdedc89d0a1cda89 /openbox | |
| parent | 1019e3401294afa71a1fc8f41eee42c87e74199f (diff) | |
skip windows which skip the taskbar.
don't skip them for cycling dock windows.
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/focus.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
