mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03:00
keybinds: fixup global conditions
This commit is contained in:
parent
1ecfb5e852
commit
204a580544
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user