Mercurial > vim
changeset 2362:6cee3bf00495 vim73
When resetting 'mousehide' show the mouse pointer right away.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 20 Jul 2010 18:44:27 +0200 |
parents | e12685c50982 |
children | acbb3a9ccc07 |
files | src/option.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/option.c +++ b/src/option.c @@ -7488,6 +7488,14 @@ set_bool_option(opt_idx, varp, value, op #endif } +#ifdef FEAT_GUI + else if ((int *)varp == &p_mh) + { + if (!p_mh) + gui_mch_mousehide(FALSE); + } +#endif + #if defined(FEAT_TITLE) || defined(FEAT_CONCEAL) /* when 'modifiable' is changed, redraw the window title and * update current line for concealable items */