[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master a0e3385070: Fix a keyboard.c no-X compilation warning
From: |
Lars Ingebrigtsen |
Subject: |
master a0e3385070: Fix a keyboard.c no-X compilation warning |
Date: |
Tue, 22 Mar 2022 16:09:35 -0400 (EDT) |
branch: master
commit a0e33850702e84ca747178b0eba0f43ef30c14fc
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix a keyboard.c no-X compilation warning
* src/keyboard.c (make_lispy_position): Fix compilation warning in
a --without-x build.
---
src/keyboard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/keyboard.c b/src/keyboard.c
index 218f9a86c8..8b451d834d 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5247,12 +5247,12 @@ make_lispy_position (struct frame *f, Lisp_Object x,
Lisp_Object y,
Lisp_Object window_or_frame = f
? window_from_coordinates (f, mx, my, &part, true, true)
: Qnil;
+#ifdef HAVE_WINDOW_SYSTEM
bool tool_bar_p = false;
bool menu_bar_p = false;
/* Report mouse events on the tab bar and (on GUI frames) on the
tool bar. */
-#ifdef HAVE_WINDOW_SYSTEM
if ((WINDOWP (f->tab_bar_window)
&& EQ (window_or_frame, f->tab_bar_window))
#ifndef HAVE_EXT_TOOL_BAR
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master a0e3385070: Fix a keyboard.c no-X compilation warning,
Lars Ingebrigtsen <=