]> git.eshelyaron.com Git - emacs.git/commit
Another attempt to prevent crashes when resizing TTY frames
authorEli Zaretskii <eliz@gnu.org>
Wed, 5 Jun 2024 16:18:49 +0000 (19:18 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 6 Jun 2024 10:24:30 +0000 (12:24 +0200)
commitc1185ab40f40a99993acb764c2a0097de20de6be
tree3581b9c8206145450b405e0e17f76c2ceea8dbf4
parent3e8a2c2b809990f4eac617e3177bcfec8a6f16a5
Another attempt to prevent crashes when resizing TTY frames

* src/dispnew.c (frame_size_change_delayed): Accept frame as
argument, and check the 'new_size_p' flag of the frame in
addition to 'delayed_size_change'.  Callers changed.
(window_to_frame_vpos, build_frame_matrix_from_leaf_window): Call
'frame_size_change_delayed' instead of looking at
delayed_size_change alone.  (Bug#71289)

(cherry picked from commit e84057d072eaaa5e395d796a41bb78613844fb7c)
src/cm.c
src/dispextern.h
src/dispnew.c