patch 9.1.1635: tabpanel: cannot drag inactive tabs
Commit:
https://github.com/vim/vim/commit/62f5be6ea6d0b14eefb5278f4d54002c1ab58aa0
Author: Naruhiko Nishino <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1unHgX-000ySC-D4%40256bit.org.