From: Dana Jansens Date: Wed, 6 Jun 2007 16:07:39 +0000 (+0000) Subject: better group_full func X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f6aaaeddf59c5a9af87993aa5cfcb9e1f04676f2;p=chaz%2Fopenbox better group_full func --- 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)