mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 08:05:58 +01:00
keybinds: fixup global conditions
This commit is contained in:
parent
1ecfb5e852
commit
204a580544
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) {
|
||||
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 a new issue