mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 12:15:46 +00:00
[Win32k]
- Remove code that breaks API SetActiveWindow tests. See CORE-7447. - Dedicated to Victor Martinez Calvo. svn path=/trunk/; revision=64730
This commit is contained in:
parent
63dff05e61
commit
e9aecdf259
|
@ -1544,12 +1544,7 @@ WinPosFixupFlags(WINDOWPOS *WinPos, PWND Wnd)
|
|||
WinPos->flags |= SWP_NOMOVE;
|
||||
}
|
||||
|
||||
if (WinPos->hwnd == UserGetForegroundWindow())
|
||||
{
|
||||
WinPos->flags |= SWP_NOACTIVATE; /* Already active */
|
||||
}
|
||||
else
|
||||
if ((Wnd->style & (WS_POPUP | WS_CHILD)) != WS_CHILD)
|
||||
if (WinPos->hwnd != UserGetForegroundWindow() && (Wnd->style & (WS_POPUP | WS_CHILD)) != WS_CHILD)
|
||||
{
|
||||
/* Bring to the top when activating */
|
||||
if (!(WinPos->flags & (SWP_NOACTIVATE|SWP_HIDEWINDOW)) &&
|
||||
|
|
Loading…
Reference in a new issue