diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-24 15:15:15 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-24 15:15:15 +0000 |
commit | f8e43f6107f3a83b8c74a84c4c8f99598e2dc4c0 (patch) | |
tree | 2680c58532075caa477d253231fa63e15fc586e9 /src/globals.h | |
parent | f4f0525c34d2aa32f214155b0dadcd274ed05dd1 (diff) |
patch 8.2.4619: mapping is cancelled when mouse moves and popup is visiblev8.2.4619
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)
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 1a50649a11..cd8893b307 100644 --- a/src/globals.h +++ b/src/globals.h @@ -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 |