]> Dogcows Code - chaz/openbox/commitdiff
better group_full func
authorDana Jansens <danakj@orodu.net>
Wed, 6 Jun 2007 16:07:39 +0000 (16:07 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 6 Jun 2007 16:07:39 +0000 (16:07 +0000)
openbox/client.c

index 165e545b56d95636c823e1a0215428c75d771796..659fd704705fb6b1196712fa88a28e2455883958 100644 (file)
@@ -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)
This page took 0.032391 seconds and 4 git commands to generate.