]> Dogcows Code - chaz/openbox/commitdiff
must assign return of g_list_insert_before to list, the start address may have changed
authorMikael Magnusson <mikachu@comhem.se>
Sun, 11 Jun 2006 10:36:31 +0000 (10:36 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sun, 11 Jun 2006 10:36:31 +0000 (10:36 +0000)
openbox/focus.c

index b81e5632c4dbd68148177e3cfb98ebaa323265c6..4f598ec5e5061478c53ee0e8c064cb85b75234f4 100644 (file)
@@ -749,7 +749,7 @@ static void to_bottom(ObClient *c, guint d)
         /* insert before first iconic window */
         for (it = focus_order[d];
              it && !((ObClient*)it->data)->iconic; it = g_list_next(it));
-        g_list_insert_before(focus_order[d], it, c);
+        focus_order[d] = g_list_insert_before(focus_order[d], it, c);
     }
 }
 
This page took 0.023436 seconds and 4 git commands to generate.