diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-08 00:18:15 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-08 00:18:15 +0000 |
| commit | 38b12c6cba7c7448d1d43b3f91b40726985b7235 (patch) | |
| tree | 6d052299fd561d475a899e46209b8f448a3be7d5 /openbox | |
| parent | def8f7e4dde2a95b4a9bf177af4493550ec6f6e5 (diff) | |
!
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/focus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index eea8d148..15c036dc 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -562,10 +562,10 @@ static gboolean valid_focus_target(ObClient *ft, /* it's not set to skip the taskbar (unless it is a type that would be expected to set this hint */ - ok = ok && (!(ft->type == OB_CLIENT_TYPE_DOCK || - ft->type == OB_CLIENT_TYPE_TOOLBAR || - ft->type == OB_CLIENT_TYPE_MENU || - ft->type == OB_CLIENT_TYPE_UTILITY) || + ok = ok && ((ft->type == OB_CLIENT_TYPE_DOCK || + ft->type == OB_CLIENT_TYPE_TOOLBAR || + ft->type == OB_CLIENT_TYPE_MENU || + ft->type == OB_CLIENT_TYPE_UTILITY) || !ft->skip_taskbar); /* it's not going to just send fous off somewhere else (modal window) */ |
