mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
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)
This commit is contained in:
@@ -4269,7 +4269,7 @@ leave_tabpage(
|
||||
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 @@ enter_tabpage(
|
||||
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user