Author: tkreuzer Date: Thu Jun 28 22:57:24 2007 New Revision: 27313
URL: http://svn.reactos.org/svn/reactos?rev=27313&view=rev Log: - remove hack from co_WinPosSetWindowPos() fixes bug 902 it doesn't reintroduce bug 735, wich seems to be fixed. See issue #902,735 for more details.
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/ntu... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c Thu Jun 28 22:57:24 2007 @@ -1223,22 +1223,11 @@ } if (RgnType != ERROR && RgnType != NULLREGION) { - if (Window->Parent) - { - NtGdiOffsetRgn(DirtyRgn, - Window->WindowRect.left - Window->Parent->ClientRect.left, - Window->WindowRect.top - Window->Parent->ClientRect.top); - co_UserRedrawWindow(Window->Parent, NULL, DirtyRgn, - RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN); - } - else - { - NtGdiOffsetRgn(DirtyRgn, - Window->WindowRect.left - Window->ClientRect.left, - Window->WindowRect.top - Window->ClientRect.top); - co_UserRedrawWindow(Window, NULL, DirtyRgn, - RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN); - } + NtGdiOffsetRgn(DirtyRgn, + Window->WindowRect.left - Window->ClientRect.left, + Window->WindowRect.top - Window->ClientRect.top); + co_UserRedrawWindow(Window, NULL, DirtyRgn, + RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN); } NtGdiDeleteObject(DirtyRgn); }