Don't clip VisRgn against X desktop.

This commit is contained in:
Ulrich Weigand 1998-12-10 08:57:31 +00:00 committed by Alexandre Julliard
parent 2aad33e032
commit ae85ebf1b1
1 changed files with 1 additions and 1 deletions

View File

@ -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;