mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 05:09:49 +01:00
keybinds: Do not suppress pass and mouse release (#3219)
This commit is contained in:
parent
6648274735
commit
c061946a94
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue