Initialize impl_window for foreign W32 windows

https://bugzilla.gnome.org/show_bug.cgi?id=736269
This commit is contained in:
Руслан Ижбулатов 2014-09-08 15:21:00 +00:00
parent e4b89854a2
commit a8915b89d7

View File

@ -705,6 +705,7 @@ gdk_win32_window_foreign_new_for_display (GdkDisplay *display,
window = _gdk_display_create_window (display);
window->visual = gdk_screen_get_system_visual (_gdk_screen);
window->impl = g_object_new (GDK_TYPE_WINDOW_IMPL_WIN32, NULL);
window->impl_window = window;
impl = GDK_WINDOW_IMPL_WIN32 (window->impl);
impl->wrapper = window;
parent = GetParent (anid);