diff --git a/gtk/src/gtk_display_driver_opengl.cpp b/gtk/src/gtk_display_driver_opengl.cpp index da160f1a..3494102c 100644 --- a/gtk/src/gtk_display_driver_opengl.cpp +++ b/gtk/src/gtk_display_driver_opengl.cpp @@ -763,10 +763,11 @@ S9xOpenGLDisplayDriver::create_window (int width, int height) if (!wl.subsurface) { wl.subsurface = wl_subcompositor_get_subsurface (wl.subcompositor, wl.child, wl.parent); - wl_subsurface_set_desync (wl.subsurface); - wl_subsurface_set_position (wl.subsurface, x, y); } + wl_subsurface_set_desync (wl.subsurface); + wl_subsurface_set_position (wl.subsurface, x, y); + if (wl.egl_window) wl_egl_window_resize (wl.egl_window, w, h, 0, 0); else