From 48e3f64bc0a50ebf51d339787a0c7fb09c62c9cb Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 11 Jun 2006 10:36:31 +0000 Subject: [PATCH] must assign return of g_list_insert_before to list, the start address may have changed --- openbox/focus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/focus.c b/openbox/focus.c index b81e5632..4f598ec5 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -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); } } -- 2.44.0