forked from aniani/vim
updated for version 7.4.307
Problem: Can't build without the +termresponse feature. Solution: Add proper #ifdefs.
This commit is contained in:
@@ -3743,7 +3743,10 @@ check_mouse_termcode()
|
||||
/* Conflicts with xterm mouse: "\033[" and "\033[M".
|
||||
* Also conflicts with the xterm termresponse, skip this if it was
|
||||
* requested already. */
|
||||
if (!use_xterm_mouse() && !did_request_esc_sequence()
|
||||
if (!use_xterm_mouse()
|
||||
# ifdef FEAT_TERMRESPONSE
|
||||
&& !did_request_esc_sequence()
|
||||
# endif
|
||||
# ifdef FEAT_GUI
|
||||
&& !gui.in_use
|
||||
# endif
|
||||
@@ -3758,7 +3761,10 @@ check_mouse_termcode()
|
||||
# endif
|
||||
# ifdef FEAT_MOUSE_PTERM
|
||||
/* same as the dec mouse */
|
||||
if (!use_xterm_mouse() && !did_request_esc_sequence()
|
||||
if (!use_xterm_mouse()
|
||||
# ifdef FEAT_TERMRESPONSE
|
||||
&& !did_request_esc_sequence()
|
||||
# endif
|
||||
# ifdef FEAT_GUI
|
||||
&& !gui.in_use
|
||||
# endif
|
||||
@@ -3773,7 +3779,10 @@ check_mouse_termcode()
|
||||
# endif
|
||||
# ifdef FEAT_MOUSE_URXVT
|
||||
/* same as the dec mouse */
|
||||
if (use_xterm_mouse() == 3 && !did_request_esc_sequence()
|
||||
if (use_xterm_mouse() == 3
|
||||
# ifdef FEAT_TERMRESPONSE
|
||||
&& !did_request_esc_sequence()
|
||||
# endif
|
||||
# ifdef FEAT_GUI
|
||||
&& !gui.in_use
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user