mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.2377: GUI: when losing focus a pending operator is executed
Problem: GUI: when losing focus a pending operator is executed. Solution: Do not execute an operator when getting K_IGNORE. (closes #5300)
This commit is contained in:
parent
912bc4a51a
commit
fa5612c7d8
@ -1099,8 +1099,9 @@ getcount:
|
|||||||
old_mapped_len = typebuf_maplen();
|
old_mapped_len = typebuf_maplen();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If an operation is pending, handle it...
|
* If an operation is pending, handle it. But not for K_IGNORE.
|
||||||
*/
|
*/
|
||||||
|
if (ca.cmdchar != K_IGNORE)
|
||||||
do_pending_operator(&ca, old_col, FALSE);
|
do_pending_operator(&ca, old_col, FALSE);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -742,6 +742,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 */
|
||||||
|
/**/
|
||||||
|
2377,
|
||||||
/**/
|
/**/
|
||||||
2376,
|
2376,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user