mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[NTUSER] Fix SwitchToThisWindow
Taskbar task buttons were not working correctly due to this bug. CORE-17911
This commit is contained in:
parent
0358fcf9e4
commit
f643fb301b
|
@ -521,11 +521,14 @@ NtUserCallTwoParam(
|
||||||
{
|
{
|
||||||
co_WinPosSetWindowPos(pwndActive, HWND_BOTTOM, 0, 0, 0, 0,
|
co_WinPosSetWindowPos(pwndActive, HWND_BOTTOM, 0, 0, 0, 0,
|
||||||
SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE |
|
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))
|
if (fAltTab && (Window->style & WS_MINIMIZE))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue