]> Dogcows Code - chaz/openbox/commitdiff
fix focus cycling. checking the wrong client.
authorDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 04:10:45 +0000 (04:10 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 04:10:45 +0000 (04:10 +0000)
openbox/focus.c

index 80cd0b080affecc29f00e8b10272ddcfe0040a9e..a4d3f9f2d187853c211f6fb38e7f268d9e45a076 100644 (file)
@@ -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;
         }
This page took 0.024762 seconds and 4 git commands to generate.