# HG changeset patch # User Bram Moolenaar # Date 1279644267 -7200 # Node ID 6cee3bf00495564945a251ccacedd48c32510c71 # Parent e12685c509822e2da3a27d00409dfc68b90f58b3 When resetting 'mousehide' show the mouse pointer right away. diff --git a/src/option.c b/src/option.c --- 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 */