Revert r24430 changes (by Magnus Olsen) since they are incorrect (additionally confirmed by Filip Navara)

svn path=/trunk/; revision=24471
This commit is contained in:
Aleksey Bragin 2006-10-09 15:02:33 +00:00
parent b79edc3b52
commit 182fc37942

View file

@ -1221,7 +1221,7 @@ co_WinPosSetWindowPos(
}
if (RgnType != ERROR && RgnType != NULLREGION)
{
if ((Window->Parent == UserGetDesktopWindow()) && (Window->Style & WS_VISIBLE))
if (Window->Parent)
{
NtGdiOffsetRgn(DirtyRgn,
Window->WindowRect.left - Window->Parent->ClientRect.left,