Mercurial > vim
diff src/option.c @ 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 | d8e4b27cef80 |
children | 85b7dc8da5eb |
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 */