diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-21 20:48:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-21 20:48:04 +0200 |
commit | b20b9e14ddd8db111e886ad0494e15b955159426 (patch) | |
tree | 81bf23be4dbc17d4b793a29f3252448f5f1e7322 /src/ex_getln.c | |
parent | 4d5c12626c98df23e1a5d953692d946310ddfa9c (diff) | |
download | vim-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/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 4c88bc86b..ef9967e9b 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -924,9 +924,7 @@ getcmdline_int( im_set_active(TRUE); #endif -#ifdef FEAT_MOUSE setmouse(); -#endif #ifdef CURSOR_SHAPE ui_cursor_shape(); /* may show different cursor shape */ #endif @@ -2389,9 +2387,7 @@ returncmd: im_save_status(b_im_ptr); im_set_active(FALSE); #endif -#ifdef FEAT_MOUSE setmouse(); -#endif #ifdef CURSOR_SHAPE ui_cursor_shape(); /* may show different cursor shape */ #endif @@ -4160,9 +4156,7 @@ open_cmdwin(void) exmode_active = 0; State = NORMAL; -# ifdef FEAT_MOUSE setmouse(); -# endif // Trigger CmdwinEnter autocommands. trigger_cmd_autocmd(cmdwin_type, EVENT_CMDWINENTER); @@ -4290,9 +4284,7 @@ open_cmdwin(void) # endif State = save_State; -# ifdef FEAT_MOUSE setmouse(); -# endif return cmdwin_result; } |