diff --git a/gtk/src/gtk_display_driver_opengl.cpp b/gtk/src/gtk_display_driver_opengl.cpp index 153bfc17..c4fc7031 100644 --- a/gtk/src/gtk_display_driver_opengl.cpp +++ b/gtk/src/gtk_display_driver_opengl.cpp @@ -735,6 +735,8 @@ S9xOpenGLDisplayDriver::resize_window (int width, int height) XSync (display, False); gdk_window_show (gdk_window); + output_window_width = width; + output_window_height = height; return; } diff --git a/gtk/src/gtk_display_driver_xv.cpp b/gtk/src/gtk_display_driver_xv.cpp index 1333a705..9b62c479 100644 --- a/gtk/src/gtk_display_driver_xv.cpp +++ b/gtk/src/gtk_display_driver_xv.cpp @@ -47,6 +47,8 @@ S9xXVDisplayDriver::resize_window (int width, int height) XSync (display, False); gdk_window_show (gdk_window); + output_window_width = width; + output_window_height = height; return; }