projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
409f043
)
Fix build with ext menu bar
author
Po Lu
<luangruo@yahoo.com>
Sat, 19 Nov 2022 00:42:56 +0000
(08:42 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sat, 19 Nov 2022 00:42:56 +0000
(08:42 +0800)
* src/keyboard.c (make_lispy_event): Don't access
menu_bar_window when !HAVE_EXT_MENU_BAR.
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 6ce6ce17f27f0f538f340b56ff614a70e075153f..c0642ab53a470accf010167a29f628d361505f2e 100644
(file)
--- 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);