Commit f18e7c32 authored by Thuy Nguyen's avatar Thuy Nguyen Committed by Alexandre Julliard

Check if the window has the WS_CLIPSIBLINGS style before using the

DCX_CLIPSIBLINGS flag.
parent 87b81de0
......@@ -2595,8 +2595,12 @@ Pos: /* -----------------------------------------------------------------------
!= (SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER)) )
{
/* get a previous visible region for SWP_CopyValidBits() */
DWORD flags = DCX_WINDOW;
if (wndPtr->dwStyle & WS_CLIPSIBLINGS)
flags |= DCX_CLIPSIBLINGS;
visRgn = DCE_GetVisRgn(hwnd, DCX_WINDOW | DCX_CLIPSIBLINGS, 0, 0);
visRgn = DCE_GetVisRgn(hwnd, flags, 0, 0);
}
}
......
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