Author: tkreuzer
Date: Fri Jun 29 00:23:46 2007
New Revision: 27318
URL:
http://svn.reactos.org/svn/reactos?rev=27318&view=rev
Log:
co_WinPosSetWindowPos:
- use IntInvalidateWindows() instead of co_UserRedrawWindows()
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c Fri Jun 29 00:23:46 2007
@@ -1224,9 +1224,9 @@
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);