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.
This commit is contained in:
parent
b099777b52
commit
0edafe0fb6
2 changed files with 2 additions and 2 deletions
|
@ -2966,7 +2966,7 @@ dump_bool_vector (struct dump_context *ctx, const struct Lisp_Vector *v)
|
|||
static dump_off
|
||||
dump_subr (struct dump_context *ctx, const struct Lisp_Subr *subr)
|
||||
{
|
||||
#if CHECK_STRUCTS && !defined (HASH_Lisp_Subr_20B7443AD7)
|
||||
#if CHECK_STRUCTS && !defined (HASH_Lisp_Subr_EE5F7351CC)
|
||||
# error "Lisp_Subr changed. See CHECK_STRUCTS comment in config.h."
|
||||
#endif
|
||||
struct Lisp_Subr out;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue