Use the ObClient *c variable in client_search_focus_tree_full
authorMikael Magnusson <mikachu@gmail.com>
Fri, 19 Feb 2010 21:36:10 +0000 (22:36 +0100)
committerMikael Magnusson <mikachu@gmail.com>
Fri, 19 Feb 2010 21:36:10 +0000 (22:36 +0100)
openbox/client.c

index cc55124..a86bb3a 100644 (file)
@@ -2488,7 +2488,7 @@ ObClient *client_search_focus_tree_full(ObClient *self)
 
         for (it = self->parents; it; it = g_slist_next(it)) {
             ObClient *c = it->data;
-            if ((c = client_search_focus_tree_full(it->data))) return c;
+            if ((c = client_search_focus_tree_full(c))) return c;
         }
 
         return NULL;