keybinds: fixup global conditions

This commit is contained in:
vaxerski 2023-09-02 19:36:12 +02:00
parent 1ecfb5e852
commit 204a580544

View File

@ -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;