Fix showing dialog and resizing window to cause launcher window to appear broken or missing pixels on ReactOS

This commit is contained in:
UnknownShadow200 2019-08-12 21:10:45 +10:00
parent f3198c31c3
commit 996b13436f

View file

@ -242,8 +242,12 @@ static LRESULT CALLBACK Window_Procedure(HWND handle, UINT message, WPARAM wPara
break;
case WM_ERASEBKGND:
return 1; /* Avoid flickering */
case WM_PAINT:
ValidateRect(win_handle, NULL);
Event_RaiseVoid(&WindowEvents.Redraw);
return 1;
return 0;
case WM_WINDOWPOSCHANGED:
{