summaryrefslogtreecommitdiff
path: root/src/search.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/search.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/search.c')
-rw-r--r--src/search.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c
index be6daac0d..abf32d685 100644
--- a/src/search.c
+++ b/src/search.c
@@ -4803,9 +4803,7 @@ current_search(
#endif
may_start_select('c');
-#ifdef FEAT_MOUSE
setmouse();
-#endif
#ifdef FEAT_CLIPBOARD
/* Make sure the clipboard gets updated. Needed because start and
* end are still the same, and the selection needs to be owned */