Mercurial > emacs
changeset 5887:c4030d39f26d
Split #ifdef so as not to confuse c-mode.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 11 Feb 1994 00:13:59 +0000 |
parents | 08286e54ad0e |
children | 0d02ee7ee659 |
files | src/keyboard.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Fri Feb 11 00:00:28 1994 +0000 +++ b/src/keyboard.c Fri Feb 11 00:13:59 1994 +0000 @@ -2489,14 +2489,16 @@ #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);