Mercurial > vim
comparison src/window.c @ 18135:1868ec23360e v8.1.2062
patch 8.1.2062: the mouse code is spread out
Commit: https://github.com/vim/vim/commit/b20b9e14ddd8db111e886ad0494e15b955159426
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 21 20:48:04 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 Sep 2019 21:00:07 +0200 |
parents | cf8e0c7e0cb9 |
children | 783f796a1426 |
comparison
equal
deleted
inserted
replaced
18134:c06a2bc8144f | 18135:1868ec23360e |
---|---|
4670 | 4670 |
4671 /* set window width to desired minimal value */ | 4671 /* set window width to desired minimal value */ |
4672 if (curwin->w_width < p_wiw && !curwin->w_p_wfw) | 4672 if (curwin->w_width < p_wiw && !curwin->w_p_wfw) |
4673 win_setwidth((int)p_wiw); | 4673 win_setwidth((int)p_wiw); |
4674 | 4674 |
4675 #ifdef FEAT_MOUSE | 4675 setmouse(); // in case jumped to/from help buffer |
4676 setmouse(); /* in case jumped to/from help buffer */ | |
4677 #endif | |
4678 | 4676 |
4679 /* Change directories when the 'acd' option is set. */ | 4677 /* Change directories when the 'acd' option is set. */ |
4680 DO_AUTOCHDIR; | 4678 DO_AUTOCHDIR; |
4681 } | 4679 } |
4682 | 4680 |