From 42f0a6005b7c502b1486f1f3b4d9883035be3dd8 Mon Sep 17 00:00:00 2001 From: Nikolai Nechaev Date: Sat, 7 Mar 2026 01:33:08 +0900 Subject: keybinds: Remove removed keybinds (#13605) There seems to be no reason for them to remain. But if they are kept, no notification appears to warn a user that a dispatcher used in their config is no longer valid. The config remains valid, but the bindings do not work anymore. --- src/managers/KeybindManager.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/managers/KeybindManager.cpp') diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index c9c512ae..fd7c4e72 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -109,9 +109,6 @@ CKeybindManager::CKeybindManager() { m_dispatchers["togglegroup"] = toggleGroup; m_dispatchers["changegroupactive"] = changeGroupActive; m_dispatchers["movegroupwindow"] = moveGroupWindow; - m_dispatchers["togglesplit"] = toggleSplit; - m_dispatchers["swapsplit"] = swapSplit; - m_dispatchers["splitratio"] = alterSplitRatio; m_dispatchers["focusmonitor"] = focusMonitor; m_dispatchers["movecursortocorner"] = moveCursorToCorner; m_dispatchers["movecursor"] = moveCursor; @@ -1709,18 +1706,6 @@ SDispatchResult CKeybindManager::changeGroupActive(std::string args) { return {}; } -SDispatchResult CKeybindManager::toggleSplit(std::string args) { - return {.success = false, .error = "removed - use layoutmsg"}; -} - -SDispatchResult CKeybindManager::swapSplit(std::string args) { - return {.success = false, .error = "removed - use layoutmsg"}; -} - -SDispatchResult CKeybindManager::alterSplitRatio(std::string args) { - return {.success = false, .error = "removed - use layoutmsg"}; -} - SDispatchResult CKeybindManager::focusMonitor(std::string arg) { const auto PMONITOR = g_pCompositor->getMonitorFromString(arg); tryMoveFocusToMonitor(PMONITOR); -- cgit v1.2.3