Commit e649d076 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(kbd_buffer_get_event): Don't call x_activate_menubar for a deleted frame.

parent a9d4f28a
......@@ -2697,7 +2697,8 @@ kbd_buffer_get_event (kbp, used_mouse_menu)
kbd_fetch_ptr = event + 1;
input_pending = readable_events (0);
x_activate_menubar (XFRAME (event->frame_or_window));
if (FRAME_LIVE_P (XFRAME (event->frame_or_window)))
x_activate_menubar (XFRAME (event->frame_or_window));
/* Just discard these, by returning nil.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment