[WIN32SS] Fix winpos hyperlink&images loop rendering (CORE-7652)

This commit is contained in:
Julen Urizar Compains 2023-01-15 01:59:24 +01:00 committed by Timo Kreuzer
parent 9bb0b9137f
commit 7866eb2886

View file

@ -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)