diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-10 16:27:14 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-10 16:27:14 +0100 |
| commit | dcb909df0466a8b9fe07ea7c420b840e2e910223 (patch) | |
| tree | 2fa6680ae1354b7a77b232ca8556467755bae360 /src/managers/KeybindManager.hpp | |
| parent | 807fc20525e4811dce55f3814fd878e3a140266d (diff) | |
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
Diffstat (limited to 'src/managers/KeybindManager.hpp')
| -rw-r--r-- | src/managers/KeybindManager.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<SKeybind*> m_vPressedSpecialBinds; int m_iPassPressed = -1; // used for pass |
