Permalink
Browse files

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)
  • Loading branch information...
brammool committed Nov 11, 2017
1 parent aeeb688 commit ae147ab2d7649e7a0bcf11b9f3db1900c1a4d594
Showing with 7 additions and 2 deletions.
  1. +5 −2 src/gui.c
  2. +2 −0 src/version.c
View
@@ -3118,15 +3118,18 @@ gui_send_mouse_event(
{
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:
View
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1288,
/**/
1287,
/**/

0 comments on commit ae147ab

Please sign in to comment.