Mercurial > vim
changeset 12822:0eb12ef4f8ba v8.0.1288
patch 8.0.1288: GUI: cannot drag the statusline of a terminal window
commit https://github.com/vim/vim/commit/ae147ab2d7649e7a0bcf11b9f3db1900c1a4d594
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 11 17:09:09 2017 +0100
patch 8.0.1288: GUI: cannot drag the statusline of a terminal window
Problem: GUI: cannot drag the statusline of a terminal window.
Solution: Handle the TERMINAL state. (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 11 Nov 2017 17:15:04 +0100 |
parents | 4d335cbf1a6d |
children | 358131b55d36 |
files | src/gui.c src/version.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui.c +++ b/src/gui.c @@ -3118,15 +3118,18 @@ button_set: { case NORMAL_BUSY: case OP_PENDING: +# ifdef FEAT_TERMINAL + case TERMINAL: +# endif case NORMAL: checkfor = MOUSE_NORMAL; break; case VISUAL: checkfor = MOUSE_VISUAL; break; case SELECTMODE: checkfor = MOUSE_VISUAL; break; case REPLACE: case REPLACE+LANGMAP: -#ifdef FEAT_VREPLACE +# ifdef FEAT_VREPLACE case VREPLACE: case VREPLACE+LANGMAP: -#endif +# endif case INSERT: case INSERT+LANGMAP: checkfor = MOUSE_INSERT; break; case ASKMORE: