https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8866b9d7b03e62b3ed304…
commit 8866b9d7b03e62b3ed3041acb0b3791fbc1733aa
Author: Julen Urizar Compains <julenuri(a)hotmail.com>
AuthorDate: Tue Jan 24 21:54:40 2023 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Tue Jan 31 01:08:45 2023 +0100
Update win32ss/user/ntuser/winpos.c
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
---
win32ss/user/ntuser/winpos.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/win32ss/user/ntuser/winpos.c b/win32ss/user/ntuser/winpos.c
index 3bf8a315c59..c0251ccc6a5 100644
--- a/win32ss/user/ntuser/winpos.c
+++ b/win32ss/user/ntuser/winpos.c
@@ -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)