Author: mkupfer Date: Thu Aug 27 16:55:54 2009 New Revision: 42956
URL: http://svn.reactos.org/svn/reactos?rev=42956&view=rev Log: - revert change from revision 41251, because it introduce more problems then it fixes - basic problem still unsolved, window z-ordering doesn't work properly
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntu... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] Thu Aug 27 16:55:54 2009 @@ -1022,7 +1022,11 @@ 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; }