aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Reilly1994-10-02 12:26:46 +0000
committerPaul Reilly1994-10-02 12:26:46 +0000
commit4f0b919bacabb54f874e1b3c9cd422b204beaeb5 (patch)
treecb2b6cd996d2657d435a55e9d880aa17b6c8a575 /src
parent84593cae2f5eaa9f6475054440abd69d327fe177 (diff)
downloademacs-4f0b919bacabb54f874e1b3c9cd422b204beaeb5.tar.gz
emacs-4f0b919bacabb54f874e1b3c9cd422b204beaeb5.zip
(make_lispy_event): Do not set item. Now handled in xmenu.c by
(popup_get_selection).
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index a4552f9e2b9..7db075284a4 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2662,13 +2662,7 @@ make_lispy_event (event)
2662 if (! (event->modifiers & down_modifier)) 2662 if (! (event->modifiers & down_modifier))
2663 return Qnil; 2663 return Qnil;
2664 2664
2665#ifdef USE_X_TOOLKIT 2665#ifndef USE_X_TOOLKIT
2666 /* The click happened in the menubar.
2667 Look for the menu item selected. */
2668 item = map_event_to_object (event, f);
2669
2670 XFASTINT (event->y) = 1;
2671#else /* not USE_X_TOOLKIT */
2672 item = Qnil; 2666 item = Qnil;
2673 items = FRAME_MENU_BAR_ITEMS (f); 2667 items = FRAME_MENU_BAR_ITEMS (f);
2674 for (i = 0; i < XVECTOR (items)->size; i += 3) 2668 for (i = 0; i < XVECTOR (items)->size; i += 3)