]> git.eshelyaron.com Git - emacs.git/commit
TTY menus: handle saved state referencing dead frames
authorGerd Möllmann <gerd@gnu.org>
Tue, 5 Nov 2024 09:26:36 +0000 (10:26 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 14:54:03 +0000 (15:54 +0100)
commitfaf2f3125347a114783dd94aedd48da0c8dae45f
tree0abc161f9d52819015c3d27db3be4b35219bf106
parent3b912af51e756e04bf0387458f6e8d0ae7bf3a20
TTY menus: handle saved state referencing dead frames

* src/term.c (restore_desired_matrix): If a tty menu saves a current
matrix that contains glyphs from a child frame, handle the case that
that child frame dies before the saved state is restored.

(cherry picked from commit 56efab930b5c129aa9c87f99f657b7d704c6d5f9)
src/term.c