diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-22 12:03:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-22 12:03:30 +0100 |
commit | 2ace1bd652211506b60faddb8243e48400c89492 (patch) | |
tree | 04f880849ca0682b517d86bd30b1706e6deebba1 /src/feature.h | |
parent | ba64ba093520e85d6bed2595960edb693bdb4c51 (diff) | |
download | vim-git-2ace1bd652211506b60faddb8243e48400c89492.tar.gz |
patch 8.1.1034: too many #ifdefsv8.1.1034
Problem: Too many #ifdefs.
Solution: Merge FEAT_MOUSE_SGR into FEAT_MOUSE_XTERM / FEAT_MOUSE_TTY.
Diffstat (limited to 'src/feature.h')
-rw-r--r-- | src/feature.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/feature.h b/src/feature.h index 284c8e080..e16fc6226 100644 --- a/src/feature.h +++ b/src/feature.h @@ -1026,9 +1026,6 @@ # ifdef FEAT_BIG # define FEAT_MOUSE_URXVT # endif -# ifdef FEAT_BIG -# define FEAT_MOUSE_SGR -# endif # if defined(FEAT_NORMAL) && defined(MSWIN) # define DOS_MOUSE # endif @@ -1057,11 +1054,6 @@ # define FEAT_MOUSE_XTERM #endif -/* sgr is a small variation of mouse_xterm, and shares its code */ -#if defined(FEAT_MOUSE_SGR) && !defined(FEAT_MOUSE_XTERM) -# define FEAT_MOUSE_XTERM -#endif - /* Define FEAT_MOUSE when any of the above is defined or FEAT_GUI. */ #if !defined(FEAT_MOUSE_TTY) \ && (defined(FEAT_MOUSE_XTERM) \ @@ -1072,8 +1064,7 @@ || defined(FEAT_MOUSE_JSB) \ || defined(FEAT_MOUSE_PTERM) \ || defined(FEAT_SYSMOUSE) \ - || defined(FEAT_MOUSE_URXVT) \ - || defined(FEAT_MOUSE_SGR)) + || defined(FEAT_MOUSE_URXVT)) # define FEAT_MOUSE_TTY /* include non-GUI mouse support */ #endif #if !defined(FEAT_MOUSE) && (defined(FEAT_MOUSE_TTY) || defined(FEAT_GUI)) |