diff options
| author | Eli Zaretskii | 2019-11-15 09:54:43 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2019-11-15 09:54:43 +0200 |
| commit | 81d3f1b6b1a34e831aabc91b8c0208efdadf6ca8 (patch) | |
| tree | 1450eae8be17615797d49ef73183317f3ffe7e93 /src | |
| parent | 8b848def9bc3c4ad786670d0447a6fb396f2ff30 (diff) | |
| download | emacs-81d3f1b6b1a34e831aabc91b8c0208efdadf6ca8.tar.gz emacs-81d3f1b6b1a34e831aabc91b8c0208efdadf6ca8.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 0 insertions, 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) | |||
| 13437 | return Qnil; | 13437 | return Qnil; |
| 13438 | } | 13438 | } |
| 13439 | 13439 | ||
| 13440 | #if defined HAVE_NTGUI && !defined CYGWIN | ||
| 13441 | |||
| 13442 | /* Handle a mouse click at X/Y on the tab bar of TTY frame F. If the | 13440 | /* Handle a mouse click at X/Y on the tab bar of TTY frame F. If the |
| 13443 | click was on the tab bar and was handled, populate the EVENT | 13441 | click was on the tab bar and was handled, populate the EVENT |
| 13444 | structure, store it in keyboard queue, and return true; otherwise | 13442 | 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, | |||
| 13501 | 13499 | ||
| 13502 | return true; | 13500 | return true; |
| 13503 | } | 13501 | } |
| 13504 | #endif /* HAVE_NTGUI && !CYGWIN */ | ||
| 13505 | 13502 | ||
| 13506 | 13503 | ||
| 13507 | 13504 | ||