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

(kbd_buffer_get_event) [USE_X_TOOLKIT]:

Handle menu_bar_activate_event by calling x_activate_menubar.
parent 51057b1f
......@@ -2611,6 +2611,13 @@ kbd_buffer_get_event (kbp, used_mouse_menu)
XSETBUFFER (obj, current_buffer);
kbd_fetch_ptr = event + 1;
else if (event->kind == menu_bar_activate_event)
kbd_fetch_ptr = event + 1;
x_activate_menubar (XFRAME (event->frame_or_window));
/* Just discard these, by returning nil.
With MULTI_KBOARD, these events are used as placeholders
when we need to randomly delete events from the queue.
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