]> code.delx.au - gnu-emacs/blobdiff - src/xterm.c
Avoid shrinking windows with Gtk+ 3.20.3
[gnu-emacs] / src / xterm.c
index 2f8e07759093b09fc6f3be7aab5bb93b20b2a0e7..c64c17463cf001039609c691759c45a5c74fb06b 100644 (file)
@@ -7897,7 +7897,13 @@ handle_one_xevent (struct x_display_info *dpyinfo,
             record_asynch_buffer_change ();
 
 #ifdef USE_GTK
+         /* xg_frame_resized does the wrong thing with Gtk+ 3.20.3 or later.
+            For earlier Gtk+ versions it is unclear whether
+            xg_frame_resized is useful, so leave it in for now.
+            See Bug#23144.  */
+# if ! GTK_CHECK_VERSION (3, 20, 3)
           xg_frame_resized (f, -1, -1);
+# endif
 #endif
         }
       goto OTHER;