diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-24 11:39:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-24 11:39:43 +0000 |
commit | 3c620b0c0394b754597f68fdd9da5de76156f3ce (patch) | |
tree | e344d9dda7a9af89646c4835fb2407421ed4b98b /src/gui_w32.c | |
parent | dea5ab0fc5bb51105078d5349f987496b1aa8d6f (diff) |
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)
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index b5ddc5dace..ec6267178a 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); |