# HG changeset patch # User Christian Brabandt # Date 1510416904 -3600 # Node ID 0eb12ef4f8ba1aeb8f6076da124bbe4bd0a269b2 # Parent 4d335cbf1a6d002fda9ab18fcdbefe32d31145b4 patch 8.0.1288: GUI: cannot drag the statusline of a terminal window commit https://github.com/vim/vim/commit/ae147ab2d7649e7a0bcf11b9f3db1900c1a4d594 Author: Bram Moolenaar 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) diff --git a/src/gui.c b/src/gui.c --- 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: diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1288, +/**/ 1287, /**/ 1286,