From 122ba1689046c53535b4d6c5142cfd81752808d0 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Sun, 19 May 2019 13:05:55 -0400 Subject: [PATCH] Don't segfault on force-window-update of deleted window * src/window.c (Fforce_window_update): Do nothing for deleted windows (Bug#35784). --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index dfac3b5b879..4d5ddeea14b 100644 --- a/src/window.c +++ b/src/window.c @@ -3637,7 +3637,7 @@ displaying that buffer. */) return Qt; } - if (WINDOWP (object)) + if (WINDOW_LIVE_P (object)) { struct window *w = XWINDOW (object); mark_window_display_accurate (object, false); -- 2.39.2