diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-12-24 12:27:17 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-12-24 12:27:17 +0200 |
commit | 38866510c7c76cd4f84d0ba02c0f0914a56a17f2 (patch) | |
tree | c8be01e0588cd7ebb39d751e25ee9beb1cdc166d | |
parent | a825aa0b135b206682bd7f84baa0fd7a7b8f3845 (diff) | |
download | emacs-38866510c7c.tar.gz |
; * src/xdisp.c (redisplay_internal): Reinstate the FRAME_LIVE_P test.
-rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 4e5250486f5..ea2d11e8b4e 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -16867,6 +16867,10 @@ redisplay_internal (void) else if (!REDISPLAY_SOME_P ()) f->redisplay = true; + /* The X error handler may have deleted that frame. */ + if (!FRAME_LIVE_P (f)) + continue; + /* Any scroll bars which redisplay_windows should have nuked should now go away. */ if (gcscrollbars && FRAME_TERMINAL (f)->judge_scroll_bars_hook) |