[NTUSER] Fix SwitchToThisWindow

Taskbar task buttons were not working correctly due to this bug.
CORE-17911
This commit is contained in:
Katayama Hirofumi MZ 2021-12-17 11:38:23 +09:00
parent 0358fcf9e4
commit f643fb301b

View file

@ -521,11 +521,14 @@ NtUserCallTwoParam(
{
co_WinPosSetWindowPos(pwndActive, HWND_BOTTOM, 0, 0, 0, 0,
SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE |
SWP_NOSENDCHANGING | SWP_ASYNCWINDOWPOS);
SWP_ASYNCWINDOWPOS);
}
UserSetActiveWindow(Window);
break;
}
UserSetActiveWindow(Window);
co_IntSetForegroundWindowMouse(Window);
if (fAltTab && (Window->style & WS_MINIMIZE))
{