Added changegroupactive direction

This commit is contained in:
vaxerski
2022-05-28 19:16:20 +02:00
parent 9ede0f1c7d
commit b1b24cb21a
4 changed files with 17 additions and 6 deletions

View File

@@ -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) {