mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
Initialize impl_window for foreign W32 windows
https://bugzilla.gnome.org/show_bug.cgi?id=736269
This commit is contained in:
parent
e4b89854a2
commit
a8915b89d7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user