summaryrefslogtreecommitdiff
path: root/gdk/x11
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-09-21 15:33:53 +0200
committerAlexander Larsson <alexl@redhat.com>2015-09-21 16:59:51 +0200
commit9bda0532f8770e726b9b90ce6fc687b87ba2037f (patch)
tree21c90a42cc0166bcadec0ad08cfa36c0fa463f26 /gdk/x11
parentd29c48815cd3350b947aad6398008c49cf85f88d (diff)
downloadgtk+-9bda0532f8770e726b9b90ce6fc687b87ba2037f.tar.gz
gdk: Finish conversion to in-struct GdkWindow list nodes
Diffstat (limited to 'gdk/x11')
-rw-r--r--gdk/x11/gdkwindow-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 1ace677a73..d08cee0f89 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -1239,7 +1239,7 @@ gdk_x11_window_foreign_new_for_display (GdkDisplay *display,
if (!win->parent || GDK_WINDOW_TYPE (win->parent) == GDK_WINDOW_FOREIGN)
win->parent = gdk_screen_get_root_window (screen);
- win->parent->children = g_list_prepend (win->parent->children, win);
+ win->parent->children = g_list_concat (&win->children_list_node, win->parent->children);
win->parent->impl_window->native_children =
g_list_prepend (win->parent->impl_window->native_children, win);