From db6de9a624d56f11bc4652dbda920392aeca24c7 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Wed, 5 Feb 2014 02:25:16 -0600 Subject: [PATCH] Fix reconfiguring the X11 sub-window every draw. --- gtk/src/gtk_display_driver_opengl.cpp | 2 ++ gtk/src/gtk_display_driver_xv.cpp | 2 ++ 2 files changed, 4 insertions(+) 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; }