From: Po Lu Date: Sun, 4 Jun 2023 12:11:40 +0000 (+0800) Subject: ; * src/keyboard.c: Fix build without window system X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=835ac18a76a30e2a5142e6e643e858bb05e83642;p=emacs.git ; * src/keyboard.c: Fix build without window system --- 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.