Update win32ss/user/ntuser/winpos.c

Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
This commit is contained in:
Julen Urizar Compains 2023-01-24 21:54:40 +01:00 committed by Timo Kreuzer
parent 7866eb2886
commit 8866b9d7b0

View file

@ -2100,7 +2100,8 @@ co_WinPosSetWindowPos(
}
/* We need to redraw what wasn't visible before or force a redraw */
if ((WinPos.flags & (SWP_FRAMECHANGED | SWP_SHOWWINDOW)) || (((WinPos.flags & SWP_AGG_NOGEOMETRYCHANGE) != SWP_AGG_NOGEOMETRYCHANGE) && VisAfter != NULL))
if ((WinPos.flags & (SWP_FRAMECHANGED | SWP_SHOWWINDOW)) ||
(((WinPos.flags & SWP_AGG_NOGEOMETRYCHANGE) != SWP_AGG_NOGEOMETRYCHANGE) && VisAfter != NULL))
{
PREGION DirtyRgn = IntSysCreateRectpRgn(0, 0, 0, 0);
if (DirtyRgn)