diff options
author | Po Lu <luangruo@yahoo.com> | 2022-11-19 08:42:56 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-11-19 08:42:56 +0800 |
commit | 4921bd7bac4a9609c00e6b3337a4962b46135ff3 (patch) | |
tree | 4ef06483b37c9f51053e6c7f44949225490526ae | |
parent | 409f0430b6a0c138836e5067141bf6b2a7beb6b3 (diff) | |
download | emacs-4921bd7bac4a9609c00e6b3337a4962b46135ff3.tar.gz |
Fix build with ext menu bar
* src/keyboard.c (make_lispy_event): Don't access
menu_bar_window when !HAVE_EXT_MENU_BAR.
-rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 6ce6ce17f27..c0642ab53a4 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -5974,7 +5974,7 @@ make_lispy_event (struct input_event *event) in a menu (non-toolkit version). */ if (!toolkit_menubar_in_use (f)) { -#if defined HAVE_WINDOW_SYSTEM +#if defined HAVE_WINDOW_SYSTEM && !defined HAVE_EXT_MENU_BAR if (FRAME_WINDOW_P (f)) { struct window *menu_w = XWINDOW (f->menu_bar_window); |