diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-08 20:13:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-08 20:13:31 +0200 |
commit | 445f11d5bcfddfa194ebd12b029228c7e957f94c (patch) | |
tree | e68aafe3970bdd1e79daa1cc4c7432d21cdad23d /src/keymap.h | |
parent | dc73b4b75de0134db3dffa6e631daf6cae817545 (diff) |
patch 8.2.2963: GUI: mouse move may start Visual mode with a popup visiblev8.2.2963
Problem: GUI: mouse move may start Visual mode with a popup visible.
Solution: Add special code for mouse move. (closes #8318)
Diffstat (limited to 'src/keymap.h')
-rw-r--r-- | src/keymap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/keymap.h b/src/keymap.h index 6efb13d065..4ce5144d15 100644 --- a/src/keymap.h +++ b/src/keymap.h @@ -273,8 +273,9 @@ enum key_extra , KE_FOCUSGAINED = 98 // focus gained , KE_FOCUSLOST = 99 // focus lost , KE_MOUSEMOVE = 100 // mouse moved with no button down - , KE_CANCEL = 101 // return from vgetc() - , KE_COMMAND = 102 // <Cmd> special key + , KE_MOUSEMOVE_XY = 101 // KE_MOUSEMOVE with coordinates + , KE_CANCEL = 102 // return from vgetc() + , KE_COMMAND = 103 // <Cmd> special key }; /* |