summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-01-08 14:34:22 -0500
committerDana Jansens <danakj@orodu.net>2010-01-08 14:34:22 -0500
commit6457a55f8c1bdcbc62412e099102b5a79654df56 (patch)
treedf1e408557408dfb42ccc9c056278d014321eaa3 /openbox/focus.c
parent0b3cfc9de550f3f922bfb3c41acb96bbb1e00b64 (diff)
allow alt-tab etc to move focus to skip_taskbar windows when they are iconic
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index a75c170f..73129749 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -328,9 +328,10 @@ gboolean focus_valid_target(ObClient *ft,
/* it's not set to skip the taskbar (but this only applies to normal typed
windows, and is overridden if the window is modal or if the user asked
- for this window to be focused) */
+ for this window to be focused, or if the window is iconified) */
ok = ok && (ft->type != OB_CLIENT_TYPE_NORMAL ||
ft->modal ||
+ ft->iconic ||
user_request ||
!ft->skip_taskbar);