check if they have a group
This commit is contained in:
parent
1fc480c193
commit
5c78f329ae
1 changed files with 6 additions and 4 deletions
|
@ -2396,12 +2396,14 @@ ObClient *client_search_focus_group_full(ObClient *self)
|
|||
{
|
||||
GSList *it;
|
||||
|
||||
if (self->group) {
|
||||
for (it = self->group->members; it; it = g_slist_next(it)) {
|
||||
ObClient *c = it->data;
|
||||
|
||||
if (client_focused(c)) return c;
|
||||
if ((c = client_search_focus_tree(it->data))) return c;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gboolean client_has_parent(ObClient *self)
|
||||
|
|
Loading…
Reference in a new issue