projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd48997
)
must assign return of g_list_insert_before to list, the start address may have changed
author
Mikael Magnusson
<mikachu@comhem.se>
Sun, 11 Jun 2006 10:36:31 +0000
(10:36 +0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Sun, 11 Jun 2006 10:36:31 +0000
(10:36 +0000)
openbox/focus.c
patch
|
blob
|
history
diff --git
a/openbox/focus.c
b/openbox/focus.c
index
b81e563
..
4f598ec
100644
(file)
--- 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);
}
}