Commit 8e264368 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent.
parent a80d8c6c
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment