[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 81d3f1b: Fix a recent change in xdisp.c

From: Eli Zaretskii
Subject: master 81d3f1b: Fix a recent change in xdisp.c
Date: Fri, 15 Nov 2019 02:55:32 -0500 (EST)

branch: master
commit 81d3f1b6b1a34e831aabc91b8c0208efdadf6ca8
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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 320e073..8aefab9 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 */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]