diff --git a/win32ss/user/ntuser/winpos.c b/win32ss/user/ntuser/winpos.c index b5927d183c..860906c62e 100644 --- a/win32ss/user/ntuser/winpos.c +++ b/win32ss/user/ntuser/winpos.c @@ -2117,6 +2117,8 @@ co_WinPosSetWindowPos( if ( !(pwnd->style & WS_CHILD) ) { + IntSendNCPaint(pwnd, HRGN_WINDOW); // Paint the whole frame. +/* HRGN DcRgn = NtGdiCreateRectRgn(0, 0, 0, 0); PREGION DcRgnObj = REGION_LockRgn(DcRgn); TRACE("SWP_FRAMECHANGED win %p hRgn %p\n",pwnd, DcRgn); @@ -2124,6 +2126,7 @@ co_WinPosSetWindowPos( REGION_UnlockRgn(DcRgnObj); ForceNCPaintErase(pwnd, DcRgn, DcRgnObj); GreDeleteObject(DcRgn); +*/ } } }