patch 9.0.0825: cannot drag an entry in the tabpage line
Problem: Cannot drag an entry in the tabpage line.
Solution: Clear dragwin instead of got_click. (closes #11483,
closes #11482)
diff --git a/src/window.c b/src/window.c
index b4e8e94..996a8aa 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4269,7 +4269,7 @@
return FAIL;
}
- reset_mouse_got_click();
+ reset_dragwin();
#if defined(FEAT_GUI)
// Remove the scrollbars. They may be added back later.
if (gui.in_use)
@@ -4338,7 +4338,7 @@
// If there was a click in a window, it won't be usable for a following
// drag.
- reset_mouse_got_click();
+ reset_dragwin();
// The tabpage line may have appeared or disappeared, may need to resize
// the frames for that. When the Vim window was resized need to update