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:
parent
e0345732c0
commit
900d5a4ce0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue