From 129a800f3fa175a9d868de02c5d241d66fec085d Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 28 Jun 2007 20:23:46 +0000 Subject: [PATCH] co_WinPosSetWindowPos: - use IntInvalidateWindows() instead of co_UserRedrawWindows() svn path=/trunk/; revision=27318 --- reactos/subsystems/win32/win32k/ntuser/winpos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/winpos.c b/reactos/subsystems/win32/win32k/ntuser/winpos.c index 12cc6619ec3..1eba7c324b1 100644 --- a/reactos/subsystems/win32/win32k/ntuser/winpos.c +++ b/reactos/subsystems/win32/win32k/ntuser/winpos.c @@ -1224,9 +1224,9 @@ co_WinPosSetWindowPos( if (RgnType != ERROR && RgnType != NULLREGION) { NtGdiOffsetRgn(DirtyRgn, - Window->WindowRect.left - Window->ClientRect.left, - Window->WindowRect.top - Window->ClientRect.top); - co_UserRedrawWindow(Window, NULL, DirtyRgn, + Window->WindowRect.left, + Window->WindowRect.top); + IntInvalidateWindows(Window, DirtyRgn, RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN); } NtGdiDeleteObject(DirtyRgn);