GTK+: Never let GTK+ paint the output window.

This commit is contained in:
Brandon Wright 2018-10-29 16:14:40 -05:00
parent 6d0eddf02a
commit a3ecddc0bc
1 changed files with 1 additions and 0 deletions

View File

@ -664,6 +664,7 @@ Snes9xWindow::Snes9xWindow (Snes9xConfig *config) :
drawing_area = GTK_DRAWING_AREA (get_widget ("drawingarea")); drawing_area = GTK_DRAWING_AREA (get_widget ("drawingarea"));
#if GTK_MAJOR_VERSION < 3 #if GTK_MAJOR_VERSION < 3
gtk_widget_set_double_buffered (GTK_WIDGET (drawing_area), FALSE); gtk_widget_set_double_buffered (GTK_WIDGET (drawing_area), FALSE);
gtk_widget_set_app_paintable (GTK_WIDGET (drawing_area), TRUE);
#endif #endif
gtk_widget_realize (window); gtk_widget_realize (window);