aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index c84a6d7b332..b4e92ef12cd 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1196,7 +1196,6 @@ menu_highlight_callback (widget, id, call_data)
1196 widget_value *wv = (widget_value *) call_data; 1196 widget_value *wv = (widget_value *) call_data;
1197 struct frame *f; 1197 struct frame *f;
1198 Lisp_Object frame, help; 1198 Lisp_Object frame, help;
1199 struct input_event buf;
1200 1199
1201 /* Determine the frame for the help event. */ 1200 /* Determine the frame for the help event. */
1202 f = menubar_id_to_frame (id); 1201 f = menubar_id_to_frame (id);
@@ -1221,10 +1220,7 @@ menu_highlight_callback (widget, id, call_data)
1221 1220
1222 /* Store the help event. */ 1221 /* Store the help event. */
1223 help = wv && wv->help ? build_string (wv->help) : Qnil; 1222 help = wv && wv->help ? build_string (wv->help) : Qnil;
1224 buf.kind = HELP_EVENT; 1223 kbd_buffer_store_help_event (frame, help);
1225 buf.frame_or_window = frame;
1226 buf.arg = help;
1227 kbd_buffer_store_event (&buf);
1228} 1224}
1229 1225
1230/* This callback is called from the menu bar pulldown menu 1226/* This callback is called from the menu bar pulldown menu