1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-27 18:25:28 +00:00

focus loss improvement

for u aap
This commit is contained in:
Xinerki 2020-05-21 21:48:39 +03:00
parent e0345732c0
commit 900d5a4ce0

View file

@ -1222,9 +1222,12 @@ MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam)
break;
}
case 7:
#ifdef FIX_BUGS // game turns on menu when focus is re-gained rather than lost
case WM_KILLFOCUS:
#else
case WM_SETFOCUS:
#endif
{
debug("ALT TABBED! CGame::InitAfterFocusLoss() \n");
CGame::InitAfterFocusLoss();
break;
}