mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-02 00:45:58 +01:00
fix changegroupactive back
This commit is contained in:
parent
60e37d727d
commit
1089e858b4
1 changed files with 8 additions and 1 deletions
|
@ -1321,7 +1321,14 @@ void CKeybindManager::changeGroupActive(std::string args) {
|
||||||
if (PWINDOW->m_sGroupData.pNextWindow == PWINDOW)
|
if (PWINDOW->m_sGroupData.pNextWindow == PWINDOW)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
PWINDOW->setGroupCurrent(PWINDOW->m_sGroupData.pNextWindow);
|
if (args != "b" && args != "prev") {
|
||||||
|
PWINDOW->setGroupCurrent(PWINDOW->m_sGroupData.pNextWindow);
|
||||||
|
} else {
|
||||||
|
CWindow* curr = PWINDOW->m_sGroupData.pNextWindow;
|
||||||
|
while (curr->m_sGroupData.pNextWindow != PWINDOW)
|
||||||
|
curr = curr->m_sGroupData.pNextWindow;
|
||||||
|
PWINDOW->setGroupCurrent(curr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CKeybindManager::toggleSplit(std::string args) {
|
void CKeybindManager::toggleSplit(std::string args) {
|
||||||
|
|
Loading…
Reference in a new issue