Commit ae85ebf1 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Don't clip VisRgn against X desktop.

parent 2aad33e0
...@@ -333,7 +333,7 @@ static BOOL32 DCE_GetVisRect( WND *wndPtr, BOOL32 clientArea, RECT32 *lprect ) ...@@ -333,7 +333,7 @@ static BOOL32 DCE_GetVisRect( WND *wndPtr, BOOL32 clientArea, RECT32 *lprect )
INT32 xoffset = lprect->left; INT32 xoffset = lprect->left;
INT32 yoffset = lprect->top; INT32 yoffset = lprect->top;
while (wndPtr->parent) while (wndPtr->dwStyle & WS_CHILD)
{ {
wndPtr = wndPtr->parent; wndPtr = wndPtr->parent;
......
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