Don't alt-tab to skip_taskbar iconic windows if they have parents
Mikael Magnusson mikachu@gmail.com
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
openbox/focus.c
→
openbox/focus.c
@@ -350,11 +350,13 @@ !focus_target_has_siblings(ft, iconic_windows, all_desktops))));
/* it's not set to skip the taskbar (but this is overridden if the window is modal or if the user asked for this window to be focused, - or if the window is iconified, and it is not used for windows which are + or if the window is iconified (and does not have any parents with + which to uniconify it), and it is not used for windows which are hilited, or dialog windows as these need user interaction and should not be long-lasting windows */ ok = ok && (!ft->skip_taskbar || - (ft->modal || ft->iconic || user_request || + (ft->modal || user_request || + (ft->iconic && !ft->parents) || ft->demands_attention || ft->type == OB_CLIENT_TYPE_DIALOG));