summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authorNikolai Nechaev <nikolay_nechaev@mail.ru>2026-03-07 01:33:08 +0900
committerGitHub <noreply@github.com>2026-03-06 16:33:08 +0000
commit42f0a6005b7c502b1486f1f3b4d9883035be3dd8 (patch)
tree8fe1b398733591fbd3727a35918bef28668438eb /src/managers/KeybindManager.cpp
parentae9ca17b40e04cd11b53b82e9292d3070710df18 (diff)
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.
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp15
1 files changed, 0 insertions, 15 deletions
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);