mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-20 18:28:24 +00:00
keybinds: Do not suppress pass and mouse release (#3219)
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user