diff src/vim.h @ 12519:f62696bd1a9f v8.0.1138

patch 8.0.1138: click in window toolbar starts Visual mode commit https://github.com/vim/vim/commit/eb163d73b11c10b461a2839530173a33d7915a33 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 23 15:08:17 2017 +0200 patch 8.0.1138: click in window toolbar starts Visual mode Problem: Click in window toolbar starts Visual mode. Solution: Add the MOUSE_WINBAR flag.
author Christian Brabandt <cb@256bit.org>
date Sat, 23 Sep 2017 15:15:04 +0200
parents 972ea22c946f
children 158917d728b4
line wrap: on
line diff
--- 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 */