changeset 24138:7a2a737dc6ec v8.2.2610

patch 8.2.2610: mouse click test fails when using remote connection Commit: https://github.com/vim/vim/commit/1e448465e1281eeb379f75fe848cbb47fe1be1d9 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 16 21:17:16 2021 +0100 patch 8.2.2610: mouse click test fails when using remote connection Problem: Mouse click test fails when using remote connection. Solution: Use a larger 'mousetime'. (Dominique Pell?, closes https://github.com/vim/vim/issues/7968)
author Bram Moolenaar <Bram@vim.org>
date Tue, 16 Mar 2021 21:30:03 +0100
parents 65b1bfb45f15
children f65896f473ed
files src/testdir/test_selectmode.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_selectmode.vim
+++ b/src/testdir/test_selectmode.vim
@@ -165,7 +165,10 @@ func Test_term_mouse_multiple_clicks_to_
   let save_term = &term
   let save_ttymouse = &ttymouse
   call test_override('no_query_mouse', 1)
-  set mouse=a term=xterm mousetime=200
+
+  " 'mousetime' must be sufficiently large, or else the test is flaky when
+  " using a ssh connection with X forwarding; i.e. ssh -X.
+  set mouse=a term=xterm mousetime=1000
   set selectmode=mouse
   new
 
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2610,
+/**/
     2609,
 /**/
     2608,