mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[WIN32SS] Make window foreground in SwitchToThisWindow (#995)
CORE-15165
This commit is contained in:
committed by
GitHub
parent
f39f25ca17
commit
41b5f29514
@@ -521,8 +521,13 @@ 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);
|
||||
}
|
||||
else
|
||||
{
|
||||
UserSetActiveWindow(Window);
|
||||
}
|
||||
UserSetActiveWindow(Window);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user