Mercurial > vim
diff src/misc2.c @ 864:bc620d6bdf06
updated for version 7.0g03
author | vimboss |
---|---|
date | Thu, 04 May 2006 21:54:08 +0000 |
parents | d10fbefd3bc1 |
children | 656853d9c014 |
line wrap: on
line diff
--- a/src/misc2.c +++ b/src/misc2.c @@ -3413,6 +3413,13 @@ update_mouseshape(shape_idx) return; } + /* When ignoring the mouse don't change shape on the statusline. */ + if (*p_mouse == NUL + && (shape_idx == SHAPE_IDX_CLINE + || shape_idx == SHAPE_IDX_STATUS + || shape_idx == SHAPE_IDX_VSEP)) + shape_idx = -2; + if (shape_idx == -2 && old_mouse_shape != shape_table[SHAPE_IDX_CLINE].mshape && old_mouse_shape != shape_table[SHAPE_IDX_STATUS].mshape