summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-23 15:08:17 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-23 15:08:17 +0200
commiteb163d73b11c10b461a2839530173a33d7915a33 (patch)
tree581dae7631cb4d5e1f4d1aea5a071f39034a018d /src/vim.h
parente745d75c3e0d976e73bd17c395e9cce98f671692 (diff)
patch 8.0.1138: click in window toolbar starts Visual modev8.0.1138
Problem: Click in window toolbar starts Visual mode. Solution: Add the MOUSE_WINBAR flag.
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 1c91b7dd66..43dbd8c4ab 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1898,6 +1898,7 @@ typedef int sock_T;
# define CURSOR_MOVED 0x100
# define MOUSE_FOLD_CLOSE 0x200 /* clicked on '-' in fold column */
# define MOUSE_FOLD_OPEN 0x400 /* clicked on '+' in fold column */
+# define MOUSE_WINBAR 0x800 /* in window toolbar */
/* flags for jump_to_mouse() */
# define MOUSE_FOCUS 0x01 /* need to stay in this window */