mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
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. svn path=/trunk/; revision=27403
This commit is contained in:
parent
1abc4ee915
commit
e2651a0dbc
|
@ -1223,7 +1223,16 @@ co_WinPosSetWindowPos(
|
||||||
}
|
}
|
||||||
if (RgnType != ERROR && RgnType != NULLREGION)
|
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;
|
PWINDOW_OBJECT Parent = Window->Parent;
|
||||||
|
|
||||||
NtGdiOffsetRgn(DirtyRgn,
|
NtGdiOffsetRgn(DirtyRgn,
|
||||||
Window->WindowRect.left,
|
Window->WindowRect.left,
|
||||||
Window->WindowRect.top);
|
Window->WindowRect.top);
|
||||||
|
@ -1235,8 +1244,11 @@ co_WinPosSetWindowPos(
|
||||||
RDW_ERASE | RDW_INVALIDATE);
|
RDW_ERASE | RDW_INVALIDATE);
|
||||||
co_IntPaintWindows(Parent, RDW_ERASENOW, FALSE);
|
co_IntPaintWindows(Parent, RDW_ERASENOW, FALSE);
|
||||||
}
|
}
|
||||||
IntInvalidateWindows(Window, DirtyRgn,
|
else
|
||||||
|
{
|
||||||
|
IntInvalidateWindows(Window, DirtyRgn,
|
||||||
RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
|
RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
NtGdiDeleteObject(DirtyRgn);
|
NtGdiDeleteObject(DirtyRgn);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue