projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix shadowed variables
[mikachu/openbox.git]
/
openbox
/
stacking.c
diff --git
a/openbox/stacking.c
b/openbox/stacking.c
index
2280b87
..
2a0d585
100644
(file)
--- 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;
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 */
if (!WINDOW_IS_CLIENT(win)) {
stacking_add(win); /* no special rules for others */
@@
-468,7
+469,7
@@
void stacking_add_nonintrusive(ObWindow *win)
break;
}
break;
}
-
GList *
wins = g_list_append(NULL, win);
+ wins = g_list_append(NULL, win);
do_restack(wins, it_below);
g_list_free(wins);
}
do_restack(wins, it_below);
g_list_free(wins);
}