Handle menu_bar_activate_event by calling x_activate_menubar.
XSETBUFFER (obj, current_buffer);
kbd_fetch_ptr = event + 1;
}
+#ifdef USE_X_TOOLKIT
+ else if (event->kind == menu_bar_activate_event)
+ {
+ kbd_fetch_ptr = event + 1;
+ x_activate_menubar (XFRAME (event->frame_or_window));
+ }
+#endif
/* 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.