diff src/globals.h @ 28187:d27a9eed9849 v8.2.4619

patch 8.2.4619: mapping is cancelled when mouse moves and popup is visible Commit: https://github.com/vim/vim/commit/f8e43f6107f3a83b8c74a84c4c8f99598e2dc4c0 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 24 15:15:15 2022 +0000 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)
author Bram Moolenaar <Bram@vim.org>
date Thu, 24 Mar 2022 16:30:03 +0100
parents 0ed38a4e028d
children 89c181c99e23
line wrap: on
line diff
--- a/src/globals.h
+++ b/src/globals.h
@@ -736,6 +736,9 @@ EXTERN win_T	*popup_dragwin INIT(= NULL)
 // 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