summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-02-24 11:39:43 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-24 11:39:43 +0000
commit3c620b0c0394b754597f68fdd9da5de76156f3ce (patch)
treee344d9dda7a9af89646c4835fb2407421ed4b98b
parentdea5ab0fc5bb51105078d5349f987496b1aa8d6f (diff)
downloadvim-git-3c620b0c0394b754597f68fdd9da5de76156f3ce.tar.gz
patch 8.2.4461: MS-Windows: garbage characters on stdout with VIMDLLv8.2.4461
Problem: MS-Windows: garbage characters on stdout with VIMDLL. Solution: Don't call gui_focus_change() when about to quit. (Ken Takata, closes #9840)
-rw-r--r--src/gui_w32.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index b5ddc5dac..ec6267178 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -2899,6 +2899,8 @@ _OnKillFocus(
HWND hwnd,
HWND hwndNewFocus)
{
+ if (destroying)
+ return;
gui_focus_change(FALSE);
s_getting_focus = FALSE;
(void)DefWindowProcW(hwnd, WM_KILLFOCUS, (WPARAM)hwndNewFocus, 0);
diff --git a/src/version.c b/src/version.c
index a34bad1e7..cfa06291a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4461,
+/**/
4460,
/**/
4459,