0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.1.2062: the mouse code is spread out

Problem:    The mouse code is spread out.
Solution:   Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
            closes #4959)
This commit is contained in:
Bram Moolenaar
2019-09-21 20:48:04 +02:00
parent 4d5c12626c
commit b20b9e14dd
35 changed files with 2415 additions and 2490 deletions

View File

@@ -4672,9 +4672,7 @@ win_enter_ext(
if (curwin->w_width < p_wiw && !curwin->w_p_wfw)
win_setwidth((int)p_wiw);
#ifdef FEAT_MOUSE
setmouse(); /* in case jumped to/from help buffer */
#endif
setmouse(); // in case jumped to/from help buffer
/* Change directories when the 'acd' option is set. */
DO_AUTOCHDIR;