diff --git "a/win32ss/user/ntuser/winpos.c" "b/win32ss/user/ntuser/winpos.c" index c0251ccc6a5..f95da850077 100644 --- "a/win32ss/user/ntuser/winpos.c" +++ "b/win32ss/user/ntuser/winpos.c" @@ -1979,7 +1979,7 @@ co_WinPosSetWindowPos( Window->state |= WNDS_SENDNCPAINT; } - if (!(WinPos.flags & SWP_NOREDRAW)) + if (!(WinPos.flags & SWP_NOREDRAW) && ((WinPos.flags & SWP_AGG_STATUSFLAGS) != SWP_AGG_NOPOSCHANGE)) { /* Determine the new visible region */ VisAfter = VIS_ComputeVisibleRegion(Window, FALSE, FALSE, @@ -2100,8 +2100,7 @@ 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 (VisAfter != NULL) { PREGION DirtyRgn = IntSysCreateRectpRgn(0, 0, 0, 0); if (DirtyRgn)