From c061946a94921d083507d8effd8d3fb8f05c9fc1 Mon Sep 17 00:00:00 2001 From: shadowmax31 Date: Sat, 9 Sep 2023 05:15:24 -0400 Subject: [PATCH] keybinds: Do not suppress pass and mouse release (#3219) --- src/managers/KeybindManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index c7beda7cc..8feff81c2 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 && k.handler != "global") { + if (pressed && k.release && k.handler != "global" && k.handler != "pass" && k.handler != "mouse") { if (k.nonConsuming) continue; @@ -416,7 +416,7 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const std::string& continue; } - if (!pressed && !k.release && k.handler != "global") { + if (!pressed && !k.release && k.handler != "global" && k.handler != "pass" && k.handler != "mouse") { if (k.nonConsuming) continue;