summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-28 19:16:20 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-28 19:16:20 +0200
commitb1b24cb21a36713aa7c8c0d39464504c97423139 (patch)
tree6bc8036db6c051ddfb745b73dc5105a82fb4a3f9 /src/managers/KeybindManager.cpp
parent9ede0f1c7d54dc6b3203ca4e103a79af3203ba51 (diff)
Added changegroupactive direction
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp
index bd225c63..f37c853f 100644
--- a/src/managers/KeybindManager.cpp
+++ b/src/managers/KeybindManager.cpp
@@ -503,7 +503,10 @@ void CKeybindManager::toggleGroup(std::string args) {
void CKeybindManager::changeGroupActive(std::string args) {
SLayoutMessageHeader header;
header.pWindow = g_pCompositor->m_pLastWindow;
- g_pLayoutManager->getCurrentLayout()->layoutMessage(header, "changegroupactive");
+ if (args == "b")
+ g_pLayoutManager->getCurrentLayout()->layoutMessage(header, "changegroupactiveb");
+ else
+ g_pLayoutManager->getCurrentLayout()->layoutMessage(header, "changegroupactivef");
}
void CKeybindManager::toggleSplit(std::string args) {