keybinds: Do not suppress pass and mouse release (#3219)

This commit is contained in:
shadowmax31 2023-09-09 05:15:24 -04:00 committed by GitHub
parent 6648274735
commit c061946a94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -408,7 +408,7 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const std::string&
continue; continue;
} }
if (pressed && k.release && k.handler != "global") { if (pressed && k.release && k.handler != "global" && k.handler != "pass" && k.handler != "mouse") {
if (k.nonConsuming) if (k.nonConsuming)
continue; continue;
@ -416,7 +416,7 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const std::string&
continue; continue;
} }
if (!pressed && !k.release && k.handler != "global") { if (!pressed && !k.release && k.handler != "global" && k.handler != "pass" && k.handler != "mouse") {
if (k.nonConsuming) if (k.nonConsuming)
continue; continue;