summaryrefslogtreecommitdiffstats
path: root/src/skel/win
diff options
context:
space:
mode:
Diffstat (limited to 'src/skel/win')
-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;
}