Index: vim-8.0.0045/src/gui_gtk_x11.c =================================================================== --- vim-8.0.0045.orig/src/gui_gtk_x11.c +++ vim-8.0.0045/src/gui_gtk_x11.c @@ -3099,6 +3099,9 @@ drawarea_configure_event_cb(GtkWidget if (event->width == cur_width && event->height == cur_height) return TRUE; + if (!gtk_check_version(3, 22, 2) && event->send_event == FALSE) + return TRUE; + cur_width = event->width; cur_height = event->height; @@ -4429,6 +4432,10 @@ form_configure_event(GtkWidget *widget U { int usable_height = event->height; + if (!gtk_check_version(3, 22, 2) && + event->window != gtk_widget_get_window(gui.formwin)) + return TRUE; + /* When in a GtkPlug, we can't guarantee valid heights (as a round * no. of char-heights), so we have to manually sanitise them. * Widths seem to sort themselves out, don't ask me why.