Commit: patch 9.1.1635: tabpanel: cannot drag inactive tabs

0 views
Skip to first unread message

Christian Brabandt

unread,
Aug 16, 2025, 10:15:17 AM8/16/25
to vim...@googlegroups.com
patch 9.1.1635: tabpanel: cannot drag inactive tabs

Commit: https://github.com/vim/vim/commit/62f5be6ea6d0b14eefb5278f4d54002c1ab58aa0
Author: Naruhiko Nishino <naru12...@gmail.com>
Date: Sat Aug 16 15:48:50 2025 +0200

patch 9.1.1635: tabpanel: cannot drag inactive tabs

Problem: tabpanel: cannot drag inactive tabs (char101)
Solution: use end_visual_mode_keep_button() instead of end_visual_mode()
(Naruhiko Nishino)

fixes: #17986
closes: #18016

Signed-off-by: Naruhiko Nishino <naru12...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/mouse.c b/src/mouse.c
index 6d6265e5d..b7696b8db 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -516,7 +516,7 @@ do_mouse(
if ((mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_2CLICK)
{
// double click opens new page
- end_visual_mode();
+ end_visual_mode_keep_button();
tabpage_new();
tabpage_move(c1 == 0 ? 9999 : c1 - 1);
}
@@ -528,7 +528,7 @@ do_mouse(

// It's like clicking on the status line of a window.
if (curwin != old_curwin)
- end_visual_mode();
+ end_visual_mode_keep_button();
}
}
else
diff --git a/src/version.c b/src/version.c
index f4f6a6560..2a2d0598c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -719,6 +719,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1635,
/**/
1634,
/**/
Reply all
Reply to author
Forward
0 new messages