From: Eli Zaretskii Date: Sat, 24 Dec 2022 10:27:17 +0000 (+0200) Subject: ; * src/xdisp.c (redisplay_internal): Reinstate the FRAME_LIVE_P test. X-Git-Tag: emacs-29.0.90~1019 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=38866510c7c76cd4f84d0ba02c0f0914a56a17f2;p=emacs.git ; * src/xdisp.c (redisplay_internal): Reinstate the FRAME_LIVE_P test. --- 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)