projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc480c
)
check if they have a group
author
Dana Jansens
<danakj@orodu.net>
Wed, 6 Jun 2007 16:06:44 +0000
(16:06 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 6 Jun 2007 16:06:44 +0000
(16:06 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
5661aa1
..
165e545
100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/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;
+ }
}
}