summaryrefslogtreecommitdiffstats
path: root/src/skel/win/win.cpp
diff options
context:
space:
mode:
authorXinerki <simasadves@gmail.com>2020-05-21 20:48:39 +0200
committerXinerki <simasadves@gmail.com>2020-05-21 20:48:39 +0200
commit900d5a4ce0631c48ced4d7840a0fbd7c4688da18 (patch)
tree3005af1604fe853669fefefb60edc0d9cf3ede84 /src/skel/win/win.cpp
parentwasted/busted text color (diff)
downloadre3-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/win.cpp')
-rw-r--r--src/skel/win/win.cpp7
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;
}