diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-06 16:07:39 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-06 16:07:39 +0000 |
| commit | f6aaaeddf59c5a9af87993aa5cfcb9e1f04676f2 (patch) | |
| tree | 01e5cd84c2b60971f2756397f829e41abbd4219d /openbox/client.c | |
| parent | 5c78f329ae40b60f7310e772e6f0a58f962005f6 (diff) | |
better group_full func
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index 165e545b..659fd704 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2403,7 +2403,9 @@ ObClient *client_search_focus_group_full(ObClient *self) if (client_focused(c)) return c; if ((c = client_search_focus_tree(it->data))) return c; } - } + } else + if (client_focused(c)) return c; + return NULL; } gboolean client_has_parent(ObClient *self) |
