summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2025-01-09 09:37:13 +0100
committerMartin Rudalics <rudalics@gmx.at>2025-01-09 09:37:13 +0100
commit0edafe0fb6bb3df4fed09eb345b690fbce2c01bb (patch)
tree68231274b5189c09e8e46fc5c70e0027614563be /src/xterm.c
parentb099777b52da1232e14883f50775a75d4d6aba62 (diff)
In xt_action_hook don't act on deleted window's scroll bar (Bug#75120)
* src/xterm.c (xt_action_hook): Make sure window_being_scrolled is live (Bug#75120). * src/pdumper.c (dump_subr): Update pertinent hash of HASH_Lisp_Subr.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 01e3a931ae9..0692abbbb0b 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -15465,7 +15465,7 @@ xt_action_hook (Widget widget, XtPointer client_data, String action_name,
if (scroll_bar_p
&& strcmp (action_name, end_action) == 0
- && WINDOWP (window_being_scrolled))
+ && WINDOW_LIVE_P (window_being_scrolled))
{
struct window *w;
struct scroll_bar *bar;