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,11 +2396,13 @@ ObClient *client_search_focus_group_full(ObClient *self)
|
||||||
{
|
{
|
||||||
GSList *it;
|
GSList *it;
|
||||||
|
|
||||||
for (it = self->group->members; it; it = g_slist_next(it)) {
|
if (self->group) {
|
||||||
ObClient *c = it->data;
|
for (it = self->group->members; it; it = g_slist_next(it)) {
|
||||||
|
ObClient *c = it->data;
|
||||||
|
|
||||||
if (client_focused(c)) return c;
|
if (client_focused(c)) return c;
|
||||||
if ((c = client_search_focus_tree(it->data))) return c;
|
if ((c = client_search_focus_tree(it->data))) return c;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue