summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-06-08 20:13:31 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-08 20:13:31 +0200
commit445f11d5bcfddfa194ebd12b029228c7e957f94c (patch)
treee68aafe3970bdd1e79daa1cc4c7432d21cdad23d /src/vim.h
parentdc73b4b75de0134db3dffa6e631daf6cae817545 (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/vim.h')
-rw-r--r--src/vim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 10f032f2b2..61afe97309 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1859,6 +1859,8 @@ typedef int sock_T;
#define MOUSE_6 0x500 // scroll wheel left
#define MOUSE_7 0x600 // scroll wheel right
+#define MOUSE_MOVE 0x700 // report mouse moved
+
// 0x20 is reserved by xterm
#define MOUSE_DRAG_XTERM 0x40