Update clip region etc, when creating a foreign window

This commit is contained in:
Alexander Larsson 2009-01-29 14:29:23 +01:00 committed by Alexander Larsson
parent 177b53a079
commit bfd29e62b5

View File

@ -942,6 +942,10 @@ gdk_window_foreign_new_for_display (GdkDisplay *display,
g_object_ref (window);
_gdk_xid_table_insert (display, &GDK_WINDOW_XID (window), window);
/* Update the clip region, etc */
_gdk_window_update_size (window);
return window;
}