0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.0329: using inputlist() during startup results in garbage

Problem:    Using inputlist() during startup results in garbage. (Dominique
            Pelle)
Solution:   Make sure the xterm tracing is stopped when disabling the mouse.
This commit is contained in:
Bram Moolenaar 2018-08-27 23:24:16 +02:00
parent 4cbdf155ca
commit a06afc7f5e
2 changed files with 9 additions and 0 deletions

View File

@ -3664,6 +3664,13 @@ mch_setmouse(int on)
# endif
int xterm_mouse_vers;
# if defined(FEAT_X11) && defined(FEAT_XCLIPBOARD)
if (!on)
// Make sure not tracing mouse movements. Important when a button-down
// was received but no release yet.
stop_xterm_trace();
# endif
if (on == mouse_ison
# ifdef FEAT_BEVAL_TERM
&& p_bevalterm == bevalterm_ison

View File

@ -794,6 +794,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
329,
/**/
328,
/**/