[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/android 835ac18a76a: ; * src/keyboard.c: Fix build without windo
From: |
Po Lu |
Subject: |
feature/android 835ac18a76a: ; * src/keyboard.c: Fix build without window system |
Date: |
Sun, 4 Jun 2023 08:15:46 -0400 (EDT) |
branch: feature/android
commit 835ac18a76a30e2a5142e6e643e858bb05e83642
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
; * src/keyboard.c: Fix build without window system
---
src/keyboard.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/keyboard.c b/src/keyboard.c
index ec9a6dc712a..116846611ce 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5875,6 +5875,8 @@ coords_in_menu_bar_window (struct frame *f, int x, int y)
#endif
+#ifdef HAVE_WINDOW_SYSTEM
+
/* Return whether or not the coordinates X and Y are inside the
tab-bar window of the given frame F. */
@@ -5894,6 +5896,8 @@ coords_in_tab_bar_window (struct frame *f, int x, int y)
&& x <= WINDOW_RIGHT_EDGE_X (window));
}
+#endif /* HAVE_WINDOW_SYSTEM */
+
/* Given a struct input_event, build the lisp event which represents
it. If EVENT is 0, build a mouse movement event from the mouse
movement buffer, which should have a movement event in it.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/android 835ac18a76a: ; * src/keyboard.c: Fix build without window system,
Po Lu <=