From ae806896cb236adaf6a08a9e6dff281fee81ea39 Mon Sep 17 00:00:00 2001 From: Francois Boisvert Date: Sun, 14 Feb 1999 09:18:15 +0000 Subject: [PATCH] Changed SetWindowPos32 to force the update of the non-client area. --- windows/winpos.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/windows/winpos.c b/windows/winpos.c index 94ad23a7185..1f065535889 100644 --- a/windows/winpos.c +++ b/windows/winpos.c @@ -2438,7 +2438,10 @@ BOOL32 WINAPI SetWindowPos32( HWND32 hwnd, HWND32 hwndInsertAfter, RDW_INVALIDATE | RDW_FRAME | RDW_ERASE | RDW_ERASENOW | RDW_ALLCHILDREN, 0 ); } if( !wErase ) /* just update the nonclient area */ - wndPtr->flags |= WIN_NEEDS_NCPAINT; + // the previous command (wndPtr->flags |= WIN_NEEDS_NCPAINT) + // was not enough. Absolutly need a non client update at this point + // Cannot wait for the next WM_PAINT message, particularly in the menu-bar redrawing + WIN_UpdateNCArea(wndPtr,TRUE); } } uFlags |= SMC_NOPARENTERASE; /* X windows do not have eraseable parents */