Mercurial > vim
diff src/optiondefs.h @ 28297:4190b932e6ca v8.2.4674
patch 8.2.4674: cannot force getting MouseMove events
Commit: https://github.com/vim/vim/commit/c4cb544cd5beaa864b3893e4b8d0085393c7dbce
Author: Ernie Rael <errael@raelity.com>
Date: Sun Apr 3 15:47:28 2022 +0100
patch 8.2.4674: cannot force getting MouseMove events
Problem: Cannot force getting MouseMove events.
Solution: Add the 'mousemoveevent' option with implementaiton for the GUI.
(Ernie Rael, closes #10044)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 03 Apr 2022 17:00:04 +0200 |
parents | fb4c30606b4a |
children | 1cd053ebb5fc |
line wrap: on
line diff
--- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -1746,6 +1746,13 @@ static struct vimoption options[] = # endif #endif (char_u *)0L} SCTX_INIT}, + {"mousemoveevent", "mousemev", P_BOOL|P_VI_DEF, +#ifdef FEAT_GUI + (char_u *)&p_mousemev, PV_NONE, +#else + (char_u *)NULL, PV_NONE, +#endif + {(char_u *)FALSE, (char_u *)0L} SCTX_INIT}, {"mouseshape", "mouses", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP, #ifdef FEAT_MOUSESHAPE (char_u *)&p_mouseshape, PV_NONE,