From 3f4220cdf368b56a5653f9eae9bfb7c8d7fe69aa Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Sat, 16 Nov 2019 12:00:09 +0100 Subject: [PATCH] ignore SC_KEYMENU --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 05ec9e7..51c1d65 100644 --- a/src/main.c +++ b/src/main.c @@ -1376,6 +1376,9 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) exit(0); } + if (wParam == SC_KEYMENU) + return 0; + if (!GameHandlesClose) return DefWindowProc(hWnd, uMsg, wParam, lParam);