From 9adbbcdae69de10d2ac7eec5783b0e0a873a7b12 Mon Sep 17 00:00:00 2001 From: IcePixelx <41352111+PixieCore@users.noreply.github.com> Date: Mon, 23 Aug 2021 23:07:03 +0200 Subject: [PATCH] Reverted till i find a proper fix. --- r5dev/src/id3dx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/r5dev/src/id3dx.cpp b/r5dev/src/id3dx.cpp index 827838f0..9ecddf58 100644 --- a/r5dev/src/id3dx.cpp +++ b/r5dev/src/id3dx.cpp @@ -56,7 +56,7 @@ LRESULT CALLBACK DXGIMsgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) LRESULT CALLBACK HwndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { - if (uMsg == WM_KEYUP || uMsg == WM_SYSKEYDOWN) + if (uMsg == WM_KEYDOWN || uMsg == WM_SYSKEYDOWN) { if (wParam == g_GuiConfig.CGameConsoleConfig.bind1 || wParam == g_GuiConfig.CGameConsoleConfig.bind2) { @@ -72,6 +72,7 @@ LRESULT CALLBACK HwndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) if (g_bShowConsole || g_bShowBrowser) {////////////////////////////////////////////////////////////////////////////// ImGui_ImplWin32_WndProcHandler(hWnd, uMsg, wParam, lParam); + g_bBlockInput = true; switch (uMsg)