diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-12 03:09:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-12 03:09:09 +0000 |
| commit | 310ea89e0ebb53e27550440960305ffc446ae8ce (patch) | |
| tree | 63aee2ded5f4aff7adcac85510798ad7015354cd | |
| parent | 9ca05545076ffc4c5165ce12de47173b044b57e0 (diff) | |
another silly bug. i rule the school.
| -rw-r--r-- | openbox/stacking.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/stacking.c b/openbox/stacking.c index 2050219d..cb8eaf31 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -197,7 +197,9 @@ static void restack_windows(ObClient *selected, gboolean raise) stacking_list = g_list_delete_link(stacking_list, it); /* go from the bottom of the stacking list up */ - for (it = g_list_last(stacking_list); it; it = g_list_previous(it)) { + for (it = g_list_last(stacking_list); it; it = next) { + next = g_list_previous(it); + if (WINDOW_IS_CLIENT(it->data)) { ObClient *ch = it->data; |
