diff src/keyboard.c @ 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 fa3883c219ea
children 0a0998c4d4b6
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)