Commit d304e4f8 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Log flags for WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED messages, make

the tests pass on Win95/Win98/Win2000, fix some test failures under Wine.
parent 4387895d
...@@ -711,8 +711,6 @@ static BOOL fixup_flags( WINDOWPOS *winpos ) ...@@ -711,8 +711,6 @@ static BOOL fixup_flags( WINDOWPOS *winpos )
if ((wndPtr->rectWindow.left == winpos->x) && (wndPtr->rectWindow.top == winpos->y)) if ((wndPtr->rectWindow.left == winpos->x) && (wndPtr->rectWindow.top == winpos->y))
winpos->flags |= SWP_NOMOVE; /* Already the right position */ winpos->flags |= SWP_NOMOVE; /* Already the right position */
if (winpos->hwnd == GetActiveWindow())
winpos->flags |= SWP_NOACTIVATE; /* Already active */
else if ((wndPtr->dwStyle & (WS_POPUP | WS_CHILD)) != WS_CHILD) else if ((wndPtr->dwStyle & (WS_POPUP | WS_CHILD)) != WS_CHILD)
{ {
if (!(winpos->flags & SWP_NOACTIVATE)) /* Bring to the top when activating */ if (!(winpos->flags & SWP_NOACTIVATE)) /* Bring to the top when activating */
...@@ -1007,7 +1005,6 @@ BOOL X11DRV_SetWindowPos( WINDOWPOS *winpos ) ...@@ -1007,7 +1005,6 @@ BOOL X11DRV_SetWindowPos( WINDOWPOS *winpos )
wine_tsx11_lock(); wine_tsx11_lock();
XClearArea( display, get_whole_window(wndPtr), 0, 0, 0, 0, True ); XClearArea( display, get_whole_window(wndPtr), 0, 0, 0, 0, True );
wine_tsx11_unlock(); wine_tsx11_unlock();
winpos->flags |= SWP_FRAMECHANGED;
} }
if (winpos->flags & SWP_SHOWWINDOW) if (winpos->flags & SWP_SHOWWINDOW)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment