# HG changeset patch # User Christian Brabandt # Date 1535405406 -7200 # Node ID 2c9a467c82fac07409b5e8c8df6dfe394c7413c9 # Parent c665a43582ec094746a3dfc74b058f7ef7f64b22 patch 8.1.0329: using inputlist() during startup results in garbage commit https://github.com/vim/vim/commit/a06afc7f5e7ba085abf1475a65ae3ea79c961a0e Author: Bram Moolenaar Date: Mon Aug 27 23:24:16 2018 +0200 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. diff --git a/src/os_unix.c b/src/os_unix.c --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -795,6 +795,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 329, +/**/ 328, /**/ 327,