From eb163d73b11c10b461a2839530173a33d7915a33 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 23 Sep 2017 15:08:17 +0200 Subject: 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. --- src/vim.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vim.h') diff --git a/src/vim.h b/src/vim.h index 1c91b7dd6..43dbd8c4a 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 */ -- cgit v1.2.1