Mercurial > vim
diff src/vim.h @ 9221:17fa362f10be v7.4.1894
commit https://github.com/vim/vim/commit/511972d810ea490955161ff5097ec2f57919ceaf
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 4 18:09:59 2016 +0200
patch 7.4.1894
Problem: Cannot get the window ID for a mouse click.
Solution: Add v:mouse_winid.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 04 Jun 2016 18:15:05 +0200 |
parents | 9495e43a800d |
children | 6c4d610fce0a |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -1887,26 +1887,27 @@ typedef int sock_T; #define VV_SWAPCOMMAND 48 #define VV_CHAR 49 #define VV_MOUSE_WIN 50 -#define VV_MOUSE_LNUM 51 -#define VV_MOUSE_COL 52 -#define VV_OP 53 -#define VV_SEARCHFORWARD 54 -#define VV_HLSEARCH 55 -#define VV_OLDFILES 56 -#define VV_WINDOWID 57 -#define VV_PROGPATH 58 -#define VV_COMPLETED_ITEM 59 -#define VV_OPTION_NEW 60 -#define VV_OPTION_OLD 61 -#define VV_OPTION_TYPE 62 -#define VV_ERRORS 63 -#define VV_FALSE 64 -#define VV_TRUE 65 -#define VV_NULL 66 -#define VV_NONE 67 -#define VV_VIM_DID_ENTER 68 -#define VV_TESTING 69 -#define VV_LEN 70 /* number of v: vars */ +#define VV_MOUSE_WINID 51 +#define VV_MOUSE_LNUM 52 +#define VV_MOUSE_COL 53 +#define VV_OP 54 +#define VV_SEARCHFORWARD 55 +#define VV_HLSEARCH 56 +#define VV_OLDFILES 57 +#define VV_WINDOWID 58 +#define VV_PROGPATH 59 +#define VV_COMPLETED_ITEM 60 +#define VV_OPTION_NEW 61 +#define VV_OPTION_OLD 62 +#define VV_OPTION_TYPE 63 +#define VV_ERRORS 64 +#define VV_FALSE 65 +#define VV_TRUE 66 +#define VV_NULL 67 +#define VV_NONE 68 +#define VV_VIM_DID_ENTER 69 +#define VV_TESTING 70 +#define VV_LEN 71 /* number of v: vars */ /* used for v_number in VAR_SPECIAL */ #define VVAL_FALSE 0L