all repos — openbox @ 5c78f329ae40b60f7310e772e6f0a58f962005f6

openbox fork - make it a bit more like ryudo

check if they have a group
Dana Jansens danakj@orodu.net
commit

5c78f329ae40b60f7310e772e6f0a58f962005f6

parent

1fc480c193e66c45f3c4f0b9da76ec8ae2fc8ed7

1 files changed, 6 insertions(+), 4 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -2396,11 +2396,13 @@ ObClient *client_search_focus_group_full(ObClient *self)

{ GSList *it; - for (it = self->group->members; it; it = g_slist_next(it)) { - ObClient *c = it->data; + 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; + if (client_focused(c)) return c; + if ((c = client_search_focus_tree(it->data))) return c; + } } }