mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- revert change from revision 41251, because it introduce more problems then it fixes
- basic problem still unsolved, window z-ordering doesn't work properly svn path=/trunk/; revision=42956
This commit is contained in:
parent
e75fc4e648
commit
1abc5e10f8
1 changed files with 5 additions and 1 deletions
|
@ -1022,7 +1022,11 @@ co_WinPosSetWindowPos(
|
|||
if (InsertAfterWindow != NULL)
|
||||
UserDereferenceObject(InsertAfterWindow);
|
||||
if ((HWND_TOPMOST == WinPos.hwndInsertAfter)
|
||||
&& (IntIsDesktopWindow(Window->Parent)))
|
||||
|| (0 != (Window->Wnd->ExStyle & WS_EX_TOPMOST)
|
||||
&& NULL != Window->PrevSibling
|
||||
&& 0 != (Window->PrevSibling->Wnd->ExStyle & WS_EX_TOPMOST))
|
||||
|| (NULL != Window->NextSibling
|
||||
&& 0 != (Window->NextSibling->Wnd->ExStyle & WS_EX_TOPMOST)))
|
||||
{
|
||||
Window->Wnd->ExStyle |= WS_EX_TOPMOST;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue