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);
|
// RealizePalette (GUI.WindowDC);
|
||||||
break;
|
break;
|
||||||
case WM_SIZE:
|
case WM_SIZE:
|
||||||
|
if (wParam == SIZE_MINIMIZED && GUI.InactivePause)
|
||||||
|
{
|
||||||
|
S9xSetPause(PAUSE_INACTIVE_WINDOW);
|
||||||
|
}
|
||||||
WinChangeWindowSize(LOWORD(lParam),HIWORD(lParam));
|
WinChangeWindowSize(LOWORD(lParam),HIWORD(lParam));
|
||||||
break;
|
break;
|
||||||
case WM_MOVE:
|
case WM_MOVE:
|
||||||
|
|
Loading…
Reference in New Issue