windowrules: fix group rule recalcs (#12403)

This commit is contained in:
Vaxry 2025-11-20 16:57:31 +00:00 committed by GitHub
parent 00cce1c8ff
commit c249a9f4b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 83 additions and 3 deletions

View file

@ -1769,11 +1769,10 @@ SDispatchResult CKeybindManager::changeGroupActive(std::string args) {
return {};
}
if (args != "b" && args != "prev") {
if (args != "b" && args != "prev")
PWINDOW->setGroupCurrent(PWINDOW->m_groupData.pNextWindow.lock());
} else {
else
PWINDOW->setGroupCurrent(PWINDOW->getGroupPrevious());
}
return {};
}