If window was not resized and not moved, repaint only itself excluding
parent.
This commit is contained in:
parent
a80d8c6cf0
commit
8e2643687d
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue