mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 12:26:09 +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,
|
||||||
|
@ -1229,7 +1229,7 @@ co_WinPosSetWindowPos(
|
||||||
co_UserRedrawWindow(Window->Parent, NULL, DirtyRgn,
|
co_UserRedrawWindow(Window->Parent, NULL, DirtyRgn,
|
||||||
RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
|
RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
NtGdiOffsetRgn(DirtyRgn,
|
NtGdiOffsetRgn(DirtyRgn,
|
||||||
Window->WindowRect.left - Window->ClientRect.left,
|
Window->WindowRect.left - Window->ClientRect.left,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue