diff options
Diffstat (limited to 'src/skel')
-rw-r--r-- | src/skel/win/win.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 7fc77d45..415f665a 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -1222,6 +1222,16 @@ MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam) break; } +#ifdef FIX_BUGS // game turns on menu when focus is re-gained rather than lost + case WM_KILLFOCUS: +#else + case WM_SETFOCUS: +#endif + { + CGame::InitAfterFocusLoss(); + break; + } + } /* |