mirror of https://github.com/snes9xgit/snes9x.git
win32: Set inactive pause on minimize size event.
This commit is contained in:
parent
9a1d3eccfc
commit
38d2d2773c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue