https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7866eb28862b31f2ee90045293c662c8ac834a70

commit 7866eb28862b31f2ee90045293c662c8ac834a70
Author:     Julen Urizar Compains <[email protected]>
AuthorDate: Sun Jan 15 01:59:24 2023 +0100
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Tue Jan 31 01:08:45 2023 +0100

    [WIN32SS] Fix winpos hyperlink&images loop rendering (CORE-7652)
---
 win32ss/user/ntuser/winpos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/win32ss/user/ntuser/winpos.c b/win32ss/user/ntuser/winpos.c
index f9ce2583b87..3bf8a315c59 100644
--- a/win32ss/user/ntuser/winpos.c
+++ b/win32ss/user/ntuser/winpos.c
@@ -2100,7 +2100,7 @@ co_WinPosSetWindowPos(
       }
 
       /* We need to redraw what wasn't visible before or force a redraw */
-      if (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)

Reply via email to