forked from aniani/vim
patch 8.2.4619: mapping is cancelled when mouse moves and popup is visible
Problem: Mapping is cancelled when mouse moves and popup is visible. Solution: Only generate mouse moved events when a popup may use them. (closes #10004)
This commit is contained in:
@@ -736,6 +736,9 @@ EXTERN win_T *popup_dragwin INIT(= NULL); // popup window being dragged
|
||||
// Set to TRUE if there is any visible popup window.
|
||||
EXTERN int popup_visible INIT(= FALSE);
|
||||
|
||||
// Set to TRUE if a visible popup window may use a MOUSE_MOVE event
|
||||
EXTERN int popup_uses_mouse_move INIT(= FALSE);
|
||||
|
||||
EXTERN int text_prop_frozen INIT(= 0);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user