diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index ead94ed9..a08c95f5 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -349,7 +349,6 @@ bool CKeybindManager::onKeyEvent(wlr_keyboard_key_event* e, SKeyboard* pKeyboard foundInPressedKeys = true; suppressEvent = !it->sent; it = m_dPressedKeys.erase(it); - break; } else { ++it; } @@ -432,7 +431,6 @@ bool CKeybindManager::onMouseEvent(wlr_pointer_button_event* e) { foundInPressedKeys = true; suppressEvent = !it->sent; it = m_dPressedKeys.erase(it); - break; } else { ++it; }