changeset 14631:2c9a467c82fa v8.1.0329

patch 8.1.0329: using inputlist() during startup results in garbage commit https://github.com/vim/vim/commit/a06afc7f5e7ba085abf1475a65ae3ea79c961a0e Author: Bram Moolenaar <Bram@vim.org> 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.
author Christian Brabandt <cb@256bit.org>
date Mon, 27 Aug 2018 23:30:06 +0200
parents c665a43582ec
children 868225825bad
files src/os_unix.c src/version.c
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,