forked from aniani/vim
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.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user