aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-07-25 20:23:50 +0000
committerRichard M. Stallman1995-07-25 20:23:50 +0000
commit099787c1f18320df702614627ab3e47b86a45e2a (patch)
tree07b16a5423a81f9de2dc2827e12cf14016dc7eba /src
parent51057b1fa48a6b116f4a2e79cc910073a4be9f6e (diff)
downloademacs-099787c1f18320df702614627ab3e47b86a45e2a.tar.gz
emacs-099787c1f18320df702614627ab3e47b86a45e2a.zip
(kbd_buffer_get_event) [USE_X_TOOLKIT]:
Handle menu_bar_activate_event by calling x_activate_menubar.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 5189cf58f07..f1181188103 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2611,6 +2611,13 @@ kbd_buffer_get_event (kbp, used_mouse_menu)
2611 XSETBUFFER (obj, current_buffer); 2611 XSETBUFFER (obj, current_buffer);
2612 kbd_fetch_ptr = event + 1; 2612 kbd_fetch_ptr = event + 1;
2613 } 2613 }
2614#ifdef USE_X_TOOLKIT
2615 else if (event->kind == menu_bar_activate_event)
2616 {
2617 kbd_fetch_ptr = event + 1;
2618 x_activate_menubar (XFRAME (event->frame_or_window));
2619 }
2620#endif
2614 /* Just discard these, by returning nil. 2621 /* Just discard these, by returning nil.
2615 With MULTI_KBOARD, these events are used as placeholders 2622 With MULTI_KBOARD, these events are used as placeholders
2616 when we need to randomly delete events from the queue. 2623 when we need to randomly delete events from the queue.