Mercurial > emacs
changeset 9228:2ac31fc0facb
(make_lispy_event): Do not set item. Now handled in xmenu.c by
(popup_get_selection).
author | Paul Reilly <pmr@pajato.com> |
---|---|
date | Sun, 02 Oct 1994 12:26:46 +0000 |
parents | 968bb25ec1af |
children | 097322f7b8ad |
files | src/keyboard.c |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Sun Oct 02 12:14:00 1994 +0000 +++ b/src/keyboard.c Sun Oct 02 12:26:46 1994 +0000 @@ -2662,13 +2662,7 @@ if (! (event->modifiers & down_modifier)) return Qnil; -#ifdef USE_X_TOOLKIT - /* The click happened in the menubar. - Look for the menu item selected. */ - item = map_event_to_object (event, f); - - XFASTINT (event->y) = 1; -#else /* not USE_X_TOOLKIT */ +#ifndef USE_X_TOOLKIT item = Qnil; items = FRAME_MENU_BAR_ITEMS (f); for (i = 0; i < XVECTOR (items)->size; i += 3)