From: Dana Jansens Date: Fri, 11 May 2007 04:10:45 +0000 (+0000) Subject: fix focus cycling. checking the wrong client. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=ba6754ac88b48c652639aec56498cb23b422bafa;p=chaz%2Fopenbox fix focus cycling. checking the wrong client. --- diff --git a/openbox/focus.c b/openbox/focus.c index 80cd0b08..a4d3f9f2 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -539,8 +539,8 @@ static gboolean has_valid_group_siblings_on_desktop(ObClient *ft, for (it = ft->group->members; it; it = g_slist_next(it)) { ObClient *c = it->data; /* check that it's not a helper window to avoid infinite recursion */ - if (c != ft && !client_helper(ft) && - valid_focus_target(ft, all_desktops, FALSE)) + if (c != ft && !client_helper(c) && + valid_focus_target(c, all_desktops, FALSE)) { return TRUE; }