mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 08:31:54 -07:00
@@ -777,8 +777,6 @@ SDispatchResult CKeybindManager::handleKeybinds(const uint32_t modmask, const SP
|
|||||||
else if (SPECIALDISPATCHER && pressed)
|
else if (SPECIALDISPATCHER && pressed)
|
||||||
m_vPressedSpecialBinds.emplace_back(k);
|
m_vPressedSpecialBinds.emplace_back(k);
|
||||||
|
|
||||||
found = true;
|
|
||||||
|
|
||||||
// Should never happen, as we check in the ConfigManager, but oh well
|
// Should never happen, as we check in the ConfigManager, but oh well
|
||||||
if (DISPATCHER == m_mDispatchers.end()) {
|
if (DISPATCHER == m_mDispatchers.end()) {
|
||||||
Debug::log(ERR, "Invalid handler in a keybind! (handler {} does not exist)", k->handler);
|
Debug::log(ERR, "Invalid handler in a keybind! (handler {} does not exist)", k->handler);
|
||||||
@@ -796,9 +794,11 @@ SDispatchResult CKeybindManager::handleKeybinds(const uint32_t modmask, const SP
|
|||||||
|
|
||||||
m_iPassPressed = -1;
|
m_iPassPressed = -1;
|
||||||
|
|
||||||
if (k->handler == "submap")
|
if (k->handler == "submap") {
|
||||||
|
found = true; // don't process keybinds on submap change.
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (k->repeat) {
|
if (k->repeat) {
|
||||||
const auto PACTIVEKEEB = g_pSeatManager->keyboard.lock();
|
const auto PACTIVEKEEB = g_pSeatManager->keyboard.lock();
|
||||||
|
Reference in New Issue
Block a user