From b20b9e14ddd8db111e886ad0494e15b955159426 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 21 Sep 2019 20:48:04 +0200 Subject: 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) --- src/window.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/window.c') diff --git a/src/window.c b/src/window.c index 1ba2984b3b..6416e0187c 100644 --- a/src/window.c +++ b/src/window.c @@ -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; -- cgit v1.2.3