mirror of
https://github.com/ItsDrike/hyprland-dwindle-autogroup.git
synced 2024-11-09 18:59:40 +00:00
Add missing return statements on ignores
This commit is contained in:
parent
9e665e359c
commit
a9eedb1d72
|
@ -63,6 +63,7 @@ void toggleGroup(std::string args)
|
|||
|
||||
if (!PNODE->pParent) {
|
||||
Debug::log(LOG, "Ignoring autogroup for a solitary window");
|
||||
return;
|
||||
}
|
||||
|
||||
std::deque<SDwindleNodeData*> newGroupMembers;
|
||||
|
@ -74,6 +75,7 @@ void toggleGroup(std::string args)
|
|||
for (auto& n : newGroupMembers) {
|
||||
if (n->pWindow->m_sGroupData.pNextWindow) {
|
||||
Debug::log(LOG, "Ignoring autogroup for nested groups");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue