Author: greatlrd
Date: Thu Jul 5 13:46:57 2007
New Revision: 27403
URL:
http://svn.reactos.org/svn/reactos?rev=27403&view=rev
Log:
Fixing a smaller bug was intrudes in rev 27394
----------------------------------------------
1. vmware driver child windows was not show right no button or text, in second boot
this change take care of that regress and does not intrudes any new regress what I can
see.
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 Thu Jul 5 13:46:57 2007
@@ -1223,7 +1223,16 @@
}
if (RgnType != ERROR && RgnType != NULLREGION)
{
+ /* old code
+ NtGdiOffsetRgn(DirtyRgn, Window->WindowRect.left,
Window->WindowRect.top);
+ IntInvalidateWindows(Window, DirtyRgn,
+ RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
+ }
+ NtGdiDeleteObject(DirtyRgn);
+ */
+
PWINDOW_OBJECT Parent = Window->Parent;
+
NtGdiOffsetRgn(DirtyRgn,
Window->WindowRect.left,
Window->WindowRect.top);
@@ -1235,8 +1244,11 @@
RDW_ERASE | RDW_INVALIDATE);
co_IntPaintWindows(Parent, RDW_ERASENOW, FALSE);
}
- IntInvalidateWindows(Window, DirtyRgn,
+ else
+ {
+ IntInvalidateWindows(Window, DirtyRgn,
RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
+ }
}
NtGdiDeleteObject(DirtyRgn);
}