]> git.eshelyaron.com Git - emacs.git/commit
Avoid crashes and assertions while handling SIGWINCH
authorEli Zaretskii <eliz@gnu.org>
Mon, 3 Jun 2024 17:37:31 +0000 (20:37 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Jun 2024 19:33:25 +0000 (21:33 +0200)
commit5a261610b46b7da71bb1596bfb38ca7c27d3de79
tree6d7cb941670c5413ddf83aaf0a63930f2d1c6080
parent4858960e18d41a83a25c6be2e1247c264e415fec
Avoid crashes and assertions while handling SIGWINCH

* src/dispnew.c (build_frame_matrix_from_leaf_window)
(window_to_frame_vpos): Avoid assertion violations when we have an
unhandled SIGWINCH.
(frame_size_change_delayed): New function.
* src/dispextern.h (frame_size_change_delayed): Add prototype.
* src/cm.c (cmcheckmagic): Don't check magicwrap if we have an
unhandled SIGWINCH.  (Bug#71289)

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