* src/keyboard.c (kbd_buffer_get_event):
* src/xterm.c (handle_one_xevent): Check that the event frame is
still live after calling arbitrary Lisp code.
break;
}
+ /* `x-dnd-unsupported-drop-function' could have deleted the
+ event frame. */
+ if (!FRAME_LIVE_P (f))
+ break;
+
x_dnd_do_unsupported_drop (FRAME_DISPLAY_INFO (f),
event->ie.frame_or_window,
XCAR (event->ie.arg),
continue;
}
+ /* `x-dnd-unsupported-drop-function' could have deleted the
+ event frame. */
+ if (!FRAME_LIVE_P (event_frame))
+ continue;
+
x_dnd_do_unsupported_drop (FRAME_DISPLAY_INFO (event_frame),
event->ie.frame_or_window,
XCAR (event->ie.arg),