If window was not resized and not moved, repaint only itself excluding

parent.
oldstable
Dmitry Timoshkov 2000-09-27 22:26:51 +00:00 committed by Alexandre Julliard
parent a80d8c6cf0
commit 8e2643687d
1 changed files with 5 additions and 0 deletions

View File

@ -2856,8 +2856,13 @@ Pos: /* -----------------------------------------------------------------------
else
{
if( (winpos.flags & SWP_AGG_NOPOSCHANGE) != SWP_AGG_NOPOSCHANGE )
{
/* if window was not resized and not moved try to repaint itself */
if((winpos.flags & SWP_AGG_NOGEOMETRYCHANGE) == SWP_AGG_NOGEOMETRYCHANGE)
uFlags |= SWP_EX_PAINTSELF;
uFlags = SWP_CopyValidBits(wndPtr, &visRgn, &oldWindowRect,
&oldClientRect, uFlags);
}
else
{
/* nothing moved, redraw frame if needed */