check if they have a group

This commit is contained in:
Dana Jansens 2007-06-06 16:06:44 +00:00
parent 1fc480c193
commit 5c78f329ae

View file

@ -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)