diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-04-28 00:18:51 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-04-28 00:18:51 +0100 |
| commit | f5c5cfa960c157c8df50b496f621290234ac4505 (patch) | |
| tree | 3d7862da2f9cda4b45a0959baa988826c1aabc19 /src/managers/KeybindManager.cpp | |
| parent | 0302bfdc2207f9b5482fb07aa6052e7f6cb237ca (diff) | |
keybindmgr: fixup bindn regression
fixes #10195
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 84f3a6d1..44d90748 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -777,8 +777,6 @@ SDispatchResult CKeybindManager::handleKeybinds(const uint32_t modmask, const SP else if (SPECIALDISPATCHER && pressed) m_vPressedSpecialBinds.emplace_back(k); - found = true; - // Should never happen, as we check in the ConfigManager, but oh well if (DISPATCHER == m_mDispatchers.end()) { Debug::log(ERR, "Invalid handler in a keybind! (handler {} does not exist)", k->handler); @@ -796,8 +794,10 @@ SDispatchResult CKeybindManager::handleKeybinds(const uint32_t modmask, const SP m_iPassPressed = -1; - if (k->handler == "submap") + if (k->handler == "submap") { + found = true; // don't process keybinds on submap change. break; + } } if (k->repeat) { |
