From: Karl Heuer Date: Fri, 11 Feb 1994 00:13:59 +0000 (+0000) Subject: Split #ifdef so as not to confuse c-mode. X-Git-Tag: emacs-19.34~9964 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b260679d0e8b58e1d1c6e778b193a342266a7c0;p=emacs.git Split #ifdef so as not to confuse c-mode. --- diff --git a/src/keyboard.c b/src/keyboard.c index 27894429596..a50062e0e7e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -2489,14 +2489,16 @@ make_lispy_event (event) #ifdef USE_X_TOOLKIT if (FRAME_EXTERNAL_MENU_BAR (f) && XINT (event->y) == -1) +#else + if (XINT (event->y) < FRAME_MENU_BAR_LINES (f)) +#endif { +#ifdef USE_X_TOOLKIT /* The click happened in the menubar. Look for the menu item selected. */ Lisp_Object items = map_event_to_object(event, f); XFASTINT (event->y) = 1; #else /* not USE_X_TOOLKIT */ - if (XINT (event->y) < FRAME_MENU_BAR_LINES (f)) - { int hpos; Lisp_Object items; items = FRAME_MENU_BAR_ITEMS (f);