[WIN32SS] Fix SwitchToThisWindow for #998 (#999)

Reduce a failure in SwitchToThisWindow testcase of #998. CORE-15165
This commit is contained in:
Katayama Hirofumi MZ 2018-10-30 17:24:47 +09:00 committed by GitHub
parent 665269be9c
commit e39863bdf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -522,7 +522,9 @@ NtUserCallTwoParam(
UserPostMessage(hwnd, WM_SYSCOMMAND, SC_RESTORE, 0);
}
/* bring window to top and activate */
co_WinPosSetWindowPos(Window, HWND_TOP, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);
co_WinPosSetWindowPos(Window, HWND_TOP, 0, 0, 0, 0,
SWP_NOSIZE | SWP_NOMOVE | SWP_NOSENDCHANGING |
SWP_NOOWNERZORDER | SWP_ASYNCWINDOWPOS);
}
else
{