From dcb909df0466a8b9fe07ea7c420b840e2e910223 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 10 Sep 2023 16:27:14 +0100 Subject: keybinds: track pressed special binds Ignore mods only if we're processing a special bind, and only if it's pressed. Otherwise we might shadow normal key releases via ignoring mods. Fixes #3240 --- src/managers/KeybindManager.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/managers/KeybindManager.hpp') diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp index 5151710e..af938c42 100644 --- a/src/managers/KeybindManager.hpp +++ b/src/managers/KeybindManager.hpp @@ -75,6 +75,7 @@ class CKeybindManager { uint32_t m_uLastMouseCode = 0; bool m_bIsMouseBindActive = false; + std::vector m_vPressedSpecialBinds; int m_iPassPressed = -1; // used for pass -- cgit v1.2.3