summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-21 20:48:04 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-21 20:48:04 +0200
commitb20b9e14ddd8db111e886ad0494e15b955159426 (patch)
tree81bf23be4dbc17d4b793a29f3252448f5f1e7322 /src/window.c
parent4d5c12626c98df23e1a5d953692d946310ddfa9c (diff)
downloadvim-git-b20b9e14ddd8db111e886ad0494e15b955159426.tar.gz
patch 8.1.2062: the mouse code is spread outv8.1.2062
Problem: The mouse code is spread out. Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, closes #4959)
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index 1ba2984b3..6416e0187 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;