mirror of
https://github.com/vim/vim.git
synced 2025-09-09 22:23:37 -04:00
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)
This commit is contained in:
parent
aeeb6888ca
commit
ae147ab2d7
@ -3118,15 +3118,18 @@ button_set:
|
|||||||
{
|
{
|
||||||
case NORMAL_BUSY:
|
case NORMAL_BUSY:
|
||||||
case OP_PENDING:
|
case OP_PENDING:
|
||||||
|
# ifdef FEAT_TERMINAL
|
||||||
|
case TERMINAL:
|
||||||
|
# endif
|
||||||
case NORMAL: checkfor = MOUSE_NORMAL; break;
|
case NORMAL: checkfor = MOUSE_NORMAL; break;
|
||||||
case VISUAL: checkfor = MOUSE_VISUAL; break;
|
case VISUAL: checkfor = MOUSE_VISUAL; break;
|
||||||
case SELECTMODE: checkfor = MOUSE_VISUAL; break;
|
case SELECTMODE: checkfor = MOUSE_VISUAL; break;
|
||||||
case REPLACE:
|
case REPLACE:
|
||||||
case REPLACE+LANGMAP:
|
case REPLACE+LANGMAP:
|
||||||
#ifdef FEAT_VREPLACE
|
# ifdef FEAT_VREPLACE
|
||||||
case VREPLACE:
|
case VREPLACE:
|
||||||
case VREPLACE+LANGMAP:
|
case VREPLACE+LANGMAP:
|
||||||
#endif
|
# endif
|
||||||
case INSERT:
|
case INSERT:
|
||||||
case INSERT+LANGMAP: checkfor = MOUSE_INSERT; break;
|
case INSERT+LANGMAP: checkfor = MOUSE_INSERT; break;
|
||||||
case ASKMORE:
|
case ASKMORE:
|
||||||
|
@ -761,6 +761,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1288,
|
||||||
/**/
|
/**/
|
||||||
1287,
|
1287,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user