From 81d3f1b6b1a34e831aabc91b8c0208efdadf6ca8 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 15 Nov 2019 09:54:43 +0200 Subject: [PATCH] Fix a recent change in xdisp.c * src/xdisp.c (tty_handle_tab_bar_click): Revert the last change which made this work only in the HAVE_NTGUI build. This function is needed by any build which supports a mouse on TTY frames. --- src/xdisp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 320e0731de8..8aefab964a8 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13437,8 +13437,6 @@ tty_get_tab_bar_item (struct frame *f, int x, int *idx, ptrdiff_t *end) return Qnil; } -#if defined HAVE_NTGUI && !defined CYGWIN - /* Handle a mouse click at X/Y on the tab bar of TTY frame F. If the click was on the tab bar and was handled, populate the EVENT structure, store it in keyboard queue, and return true; otherwise @@ -13501,7 +13499,6 @@ tty_handle_tab_bar_click (struct frame *f, int x, int y, bool down_p, return true; } -#endif /* HAVE_NTGUI && !CYGWIN */ -- 2.39.5