Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48761 Signed-off-by: Roman Pišl rpisl@seznam.cz --- dlls/user32/painting.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/user32/painting.c b/dlls/user32/painting.c index 41c0bb3c6e1..48e84c0d28d 100644 --- a/dlls/user32/painting.c +++ b/dlls/user32/painting.c @@ -1239,6 +1239,9 @@ BOOL WINAPI RedrawWindow( HWND hwnd, const RECT *rect, HRGN hrgn, UINT flags ) /* process pending expose events before painting */ if (flags & RDW_UPDATENOW) USER_Driver->pMsgWaitForMultipleObjectsEx( 0, NULL, 0, QS_PAINT, 0 );
+ if ((flags & (RDW_INTERNALPAINT | RDW_UPDATENOW | RDW_VALIDATE)) == (RDW_INTERNALPAINT | RDW_UPDATENOW | RDW_VALIDATE)) + flags &= ~RDW_VALIDATE; + if (rect && !hrgn) { if (IsRectEmpty( rect )) rect = ∅