diff options
| author | Martin Rudalics | 2025-01-09 09:37:13 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2025-01-09 09:37:13 +0100 |
| commit | 0edafe0fb6bb3df4fed09eb345b690fbce2c01bb (patch) | |
| tree | 68231274b5189c09e8e46fc5c70e0027614563be /src/xterm.c | |
| parent | b099777b52da1232e14883f50775a75d4d6aba62 (diff) | |
| download | emacs-0edafe0fb6bb3df4fed09eb345b690fbce2c01bb.tar.gz emacs-0edafe0fb6bb3df4fed09eb345b690fbce2c01bb.zip | |
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.c | 2 |
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, | |||
| 15465 | 15465 | ||
| 15466 | if (scroll_bar_p | 15466 | if (scroll_bar_p |
| 15467 | && strcmp (action_name, end_action) == 0 | 15467 | && strcmp (action_name, end_action) == 0 |
| 15468 | && WINDOWP (window_being_scrolled)) | 15468 | && WINDOW_LIVE_P (window_being_scrolled)) |
| 15469 | { | 15469 | { |
| 15470 | struct window *w; | 15470 | struct window *w; |
| 15471 | struct scroll_bar *bar; | 15471 | struct scroll_bar *bar; |