mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:12:57 +00:00
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:
parent
b79edc3b52
commit
182fc37942
1 changed files with 2 additions and 2 deletions
|
@ -1221,7 +1221,7 @@ co_WinPosSetWindowPos(
|
||||||
}
|
}
|
||||||
if (RgnType != ERROR && RgnType != NULLREGION)
|
if (RgnType != ERROR && RgnType != NULLREGION)
|
||||||
{
|
{
|
||||||
if ((Window->Parent == UserGetDesktopWindow()) && (Window->Style & WS_VISIBLE))
|
if (Window->Parent)
|
||||||
{
|
{
|
||||||
NtGdiOffsetRgn(DirtyRgn,
|
NtGdiOffsetRgn(DirtyRgn,
|
||||||
Window->WindowRect.left - Window->Parent->ClientRect.left,
|
Window->WindowRect.left - Window->Parent->ClientRect.left,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue