diff options
author | Xinerki <simasadves@gmail.com> | 2020-05-21 20:48:39 +0200 |
---|---|---|
committer | Xinerki <simasadves@gmail.com> | 2020-05-21 20:48:39 +0200 |
commit | 900d5a4ce0631c48ced4d7840a0fbd7c4688da18 (patch) | |
tree | 3005af1604fe853669fefefb60edc0d9cf3ede84 /src/skel/win | |
parent | wasted/busted text color (diff) | |
download | re3-900d5a4ce0631c48ced4d7840a0fbd7c4688da18.tar re3-900d5a4ce0631c48ced4d7840a0fbd7c4688da18.tar.gz re3-900d5a4ce0631c48ced4d7840a0fbd7c4688da18.tar.bz2 re3-900d5a4ce0631c48ced4d7840a0fbd7c4688da18.tar.lz re3-900d5a4ce0631c48ced4d7840a0fbd7c4688da18.tar.xz re3-900d5a4ce0631c48ced4d7840a0fbd7c4688da18.tar.zst re3-900d5a4ce0631c48ced4d7840a0fbd7c4688da18.zip |
Diffstat (limited to 'src/skel/win')
-rw-r--r-- | src/skel/win/win.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 8ae0ce6e..2e72f1a3 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -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; } |