mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-27 07:30:59 -08:00
Avoid shrinking windows with Gtk+ 3.20.3
Problem reported by Matthias Clasen (Bug#23144). This was fixed in a different way in master. Do not merge to master. * src/xterm.c (handle_one_xevent) [GTK_CHECK_VERSION (3, 20, 3)]: Do not call xg_frame_resized in the MapNotify case.
This commit is contained in:
parent
939eb753d5
commit
9ca5dbf947
1 changed files with 6 additions and 0 deletions
|
|
@ -7897,7 +7897,13 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
||||||
record_asynch_buffer_change ();
|
record_asynch_buffer_change ();
|
||||||
|
|
||||||
#ifdef USE_GTK
|
#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);
|
xg_frame_resized (f, -1, -1);
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
goto OTHER;
|
goto OTHER;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue