Mercurial > emacs
diff src/keyboard.c @ 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 | 995860e5f342 |
| children | 06bbb0e856d7 |
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);
