mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.2832: operator cancelled by moving mouse when using popup
Problem: Operator cancelled by moving mouse when using popup. (Sergey Vlasov) Solution: Do not trigger an operator for a mouse move events. (closes #8176)
This commit is contained in:
@@ -1119,9 +1119,10 @@ getcount:
|
|||||||
old_mapped_len = typebuf_maplen();
|
old_mapped_len = typebuf_maplen();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If an operation is pending, handle it. But not for K_IGNORE.
|
* If an operation is pending, handle it. But not for K_IGNORE or
|
||||||
|
* K_MOUSEMOVE.
|
||||||
*/
|
*/
|
||||||
if (ca.cmdchar != K_IGNORE)
|
if (ca.cmdchar != K_IGNORE && ca.cmdchar != K_MOUSEMOVE)
|
||||||
do_pending_operator(&ca, old_col, FALSE);
|
do_pending_operator(&ca, old_col, FALSE);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
2832,
|
||||||
/**/
|
/**/
|
||||||
2831,
|
2831,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user