diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-02 19:36:12 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-09-02 19:36:12 +0200 |
| commit | 204a5805449b792fe19487fb2478745bca591291 (patch) | |
| tree | afc5b8eb5b1934f0e40a87a7f4a92239609cc9b8 /src/managers/KeybindManager.cpp | |
| parent | 1ecfb5e8520a01f2117d7b623e9a2be21ec43a64 (diff) | |
keybinds: fixup global conditions
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 882ed2af..2a5a824f 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -408,7 +408,7 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const std::string& continue; } - if (pressed && k.release) { + if (pressed && k.release && k.handler != "global") { if (k.nonConsuming) continue; @@ -416,7 +416,7 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const std::string& continue; } - if (!pressed && !k.release) { + if (!pressed && !k.release && k.handler != "global") { if (k.nonConsuming) continue; |
