From ba1eefe7a2f52e1d8d16b51f12c6aba57148fb19 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Mon, 24 Oct 2016 19:26:36 +0200 Subject: [PATCH 2/2] Further fix widget sizing Follow-up by ofourdan in order to fix resizing on maximization. This makes the drawing area ignore configure events that weren't explicitly sent (such as from GtkForm). --- src/gui_gtk_x11.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index bf3c99ad9a043ad9..71dc08ff3dc99c19 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -3099,6 +3099,9 @@ drawarea_configure_event_cb(GtkWidget *widget, if (event->width == cur_width && event->height == cur_height) return TRUE; + if (event->send_event == FALSE) + return TRUE; + cur_width = event->width; cur_height = event->height; -- 2.10.1