mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.2930: when a popup is visible a mouse move my restart Visual mode
Problem: When a popup is visible a mouse move my restart Visual mode. Solution: Reset held_button when ending Visual mode. (closes #8318)
This commit is contained in:
@@ -1380,6 +1380,7 @@ end_visual_mode(void)
|
||||
#endif
|
||||
|
||||
VIsual_active = FALSE;
|
||||
reset_held_button();
|
||||
setmouse();
|
||||
mouse_dragging = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user