diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-17 23:00:07 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-17 23:00:07 +0200 |
commit | a1cb1d1dce14dd005797590721f1bcd0e7c3b35f (patch) | |
tree | be364e198e623b25d59e58d205e598fd954d3f17 /src/misc1.c | |
parent | 0d2c4bf1714a6b286bd7a10061044414e0b17a15 (diff) | |
download | vim-git-a1cb1d1dce14dd005797590721f1bcd0e7c3b35f.tar.gz |
patch 8.1.2171: mouse support not always availablev8.1.2171
Problem: Mouse support not always available.
Solution: Enable mouse support also in tiny version. Do not define
FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/misc1.c b/src/misc1.c index d359ffd97..0e182555a 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -847,9 +847,7 @@ get_keystroke(void) n = TO_SPECIAL(buf[1], buf[2]); if (buf[1] == KS_MODIFIER || n == K_IGNORE -#ifdef FEAT_MOUSE || (is_mouse_key(n) && n != K_LEFTMOUSE) -#endif #ifdef FEAT_GUI || n == K_VER_SCROLLBAR || n == K_HOR_SCROLLBAR @@ -929,14 +927,12 @@ get_number( } n /= 10; } -#ifdef FEAT_MOUSE else if (mouse_used != NULL && c == K_LEFTMOUSE) { *mouse_used = TRUE; n = mouse_row + 1; break; } -#endif else if (n == 0 && c == ':' && colon) { stuffcharReadbuff(':'); |