summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 15c036dc..79016bd4 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -556,9 +556,8 @@ static gboolean valid_focus_target(ObClient *ft,
/* let alt-tab go to these windows when a window in its
group already has focus ... */
((focus_client && ft->group == focus_client->group) ||
- /* ... or if there are no application windows in its
- group */
- !client_has_application_group_siblings(ft))));
+ /* ... or if there are no main windows in its group */
+ !client_has_non_helper_group_siblings(ft))));
/* it's not set to skip the taskbar (unless it is a type that would be
expected to set this hint */