summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 165e545b..659fd704 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -2403,7 +2403,9 @@ ObClient *client_search_focus_group_full(ObClient *self)
if (client_focused(c)) return c;
if ((c = client_search_focus_tree(it->data))) return c;
}
- }
+ } else
+ if (client_focused(c)) return c;
+ return NULL;
}
gboolean client_has_parent(ObClient *self)