allow alt-tab etc to move focus to skip_taskbar windows when they are iconic

This commit is contained in:
Dana Jansens 2010-01-08 14:34:22 -05:00
parent 0b3cfc9de5
commit 6457a55f8c

View file

@ -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);