commit | 9c449728175fda3413377fd92e3ce0f288f35e6f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jul 20 18:44:27 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jul 20 18:44:27 2010 +0200 |
tree | 313c31fe090a0e5071bcc291aea0daa7560581ae | |
parent | cb9d45cb847845a9f8b90da3e55b68b8e461f496 [diff] [blame] |
When resetting 'mousehide' show the mouse pointer right away.
diff --git a/src/option.c b/src/option.c index 63c0f2e..f16c4ba 100644 --- a/src/option.c +++ b/src/option.c
@@ -7488,6 +7488,14 @@ #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 */