diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-09-04 06:22:28 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2007-09-04 06:25:06 +0200 |
| commit | 1492bd0e7d92b3c7c1ca6adfe46dab4b8c2d3fed (patch) | |
| tree | 31587c790320eef390e5224dba943966036673d2 /openbox/stacking.c | |
| parent | c12d09bde85e40fdfbb36225a1b596b5f27c2335 (diff) | |
Fix shadowed variables
Diffstat (limited to 'openbox/stacking.c')
| -rw-r--r-- | openbox/stacking.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/stacking.c b/openbox/stacking.c index 2280b877..2a0d5852 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -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); } |
