]> Dogcows Code - chaz/openbox/commitdiff
another silly bug. i rule the school.
authorDana Jansens <danakj@orodu.net>
Mon, 12 Mar 2007 03:09:09 +0000 (03:09 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 12 Mar 2007 03:09:09 +0000 (03:09 +0000)
openbox/stacking.c

index 2050219db83de16556bcfc21de36036b3802ad31..cb8eaf31a996fd72c29dce49d01dd275be80d908 100644 (file)
@@ -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;
 
This page took 0.026351 seconds and 4 git commands to generate.