]> Dogcows Code - chaz/openbox/blobdiff - openbox/stacking.c
Fix shadowed variables
[chaz/openbox] / openbox / stacking.c
index 2280b87735a079b15329db1875ae433cbed05855..2a0d58525bcd81ca9affd7594e122e18e5844434 100644 (file)
@@ -411,6 +411,7 @@ void stacking_add_nonintrusive(ObWindow *win)
     ObClient *client;
     GList *it_below = NULL; /* this client will be below us */
     GList *it_above;
+    GList *wins;
 
     if (!WINDOW_IS_CLIENT(win)) {
         stacking_add(win); /* no special rules for others */
@@ -468,7 +469,7 @@ void stacking_add_nonintrusive(ObWindow *win)
             break;
     }
 
-    GList *wins = g_list_append(NULL, win);
+    wins = g_list_append(NULL, win);
     do_restack(wins, it_below);
     g_list_free(wins);
 }
This page took 0.02001 seconds and 4 git commands to generate.