[ros-diffs] [fireball] 24471: Revert r24430 changes (by Magnus Olsen) since they are incorrect (additionally confirmed by Filip Navara)

fireball at svn.reactos.org fireball at svn.reactos.org
Mon Oct 9 17:02:33 CEST 2006


Author: fireball
Date: Mon Oct  9 19:02:33 2006
New Revision: 24471

URL: http://svn.reactos.org/svn/reactos?rev=24471&view=rev
Log:
Revert r24430 changes (by Magnus Olsen) since they are incorrect (additionally confirmed by Filip Navara)

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/ntuser/winpos.c?rev=24471&r1=24470&r2=24471&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c Mon Oct  9 19:02:33 2006
@@ -1221,7 +1221,7 @@
          }
          if (RgnType != ERROR && RgnType != NULLREGION)
          {
-            if ((Window->Parent == UserGetDesktopWindow()) && (Window->Style & WS_VISIBLE))
+            if (Window->Parent)
             {
                NtGdiOffsetRgn(DirtyRgn,
                   Window->WindowRect.left - Window->Parent->ClientRect.left,
@@ -1229,7 +1229,7 @@
                co_UserRedrawWindow(Window->Parent, NULL, DirtyRgn,
                   RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
             }
-            else 
+            else
             {
                NtGdiOffsetRgn(DirtyRgn,
                   Window->WindowRect.left - Window->ClientRect.left,




More information about the Ros-diffs mailing list