mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.4461: MS-Windows: garbage characters on stdout with VIMDLL
Problem: MS-Windows: garbage characters on stdout with VIMDLL. Solution: Don't call gui_focus_change() when about to quit. (Ken Takata, closes #9840)
This commit is contained in:
parent
dea5ab0fc5
commit
3c620b0c03
@ -2899,6 +2899,8 @@ _OnKillFocus(
|
|||||||
HWND hwnd,
|
HWND hwnd,
|
||||||
HWND hwndNewFocus)
|
HWND hwndNewFocus)
|
||||||
{
|
{
|
||||||
|
if (destroying)
|
||||||
|
return;
|
||||||
gui_focus_change(FALSE);
|
gui_focus_change(FALSE);
|
||||||
s_getting_focus = FALSE;
|
s_getting_focus = FALSE;
|
||||||
(void)DefWindowProcW(hwnd, WM_KILLFOCUS, (WPARAM)hwndNewFocus, 0);
|
(void)DefWindowProcW(hwnd, WM_KILLFOCUS, (WPARAM)hwndNewFocus, 0);
|
||||||
|
@ -754,6 +754,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 */
|
||||||
|
/**/
|
||||||
|
4461,
|
||||||
/**/
|
/**/
|
||||||
4460,
|
4460,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user