mirror of
https://github.com/ItsDrike/hyprland-dwindle-autogroup.git
synced 2024-12-26 13:44:34 +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) {
|
if (!PNODE->pParent) {
|
||||||
Debug::log(LOG, "Ignoring autogroup for a solitary window");
|
Debug::log(LOG, "Ignoring autogroup for a solitary window");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::deque<SDwindleNodeData*> newGroupMembers;
|
std::deque<SDwindleNodeData*> newGroupMembers;
|
||||||
|
@ -74,6 +75,7 @@ void toggleGroup(std::string args)
|
||||||
for (auto& n : newGroupMembers) {
|
for (auto& n : newGroupMembers) {
|
||||||
if (n->pWindow->m_sGroupData.pNextWindow) {
|
if (n->pWindow->m_sGroupData.pNextWindow) {
|
||||||
Debug::log(LOG, "Ignoring autogroup for nested groups");
|
Debug::log(LOG, "Ignoring autogroup for nested groups");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue