mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:29:48 +01:00
ignore further keybinds on submap change
This commit is contained in:
parent
113ac67a16
commit
9255a4d2ff
1 changed files with 5 additions and 0 deletions
|
@ -260,6 +260,11 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const std::string&
|
||||||
// call the dispatcher
|
// call the dispatcher
|
||||||
Debug::log(LOG, "Keybind triggered, calling dispatcher (%d, %s, %d)", modmask, key.c_str(), keysym);
|
Debug::log(LOG, "Keybind triggered, calling dispatcher (%d, %s, %d)", modmask, key.c_str(), keysym);
|
||||||
DISPATCHER->second(k.arg);
|
DISPATCHER->second(k.arg);
|
||||||
|
|
||||||
|
if (k.handler == "submap") {
|
||||||
|
found = true; // don't process keybinds on submap change.
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (k.repeat) {
|
if (k.repeat) {
|
||||||
|
|
Loading…
Reference in a new issue