win32: Set inactive pause on minimize size event.

This commit is contained in:
Brandon Wright 2019-05-13 15:29:42 -05:00
parent 9a1d3eccfc
commit 38d2d2773c
1 changed files with 4 additions and 0 deletions

View File

@ -2359,6 +2359,10 @@ LRESULT CALLBACK WinProc(
// RealizePalette (GUI.WindowDC);
break;
case WM_SIZE:
if (wParam == SIZE_MINIMIZED && GUI.InactivePause)
{
S9xSetPause(PAUSE_INACTIVE_WINDOW);
}
WinChangeWindowSize(LOWORD(lParam),HIWORD(lParam));
break;
case WM_MOVE: