8661b300e13c6dc655566fcdccf192fcebdb0fa0

Author
outfoxxed <outfoxxed@outfoxxed.me>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

Revert "Fix non focused tab nodes not receiving recalcs"

Caused the nested groups bug to reappear

This reverts commit eacde194dc2190cdd64dcc51101da800671b1665.

Diff

 1diff --git a/src/Hy3Layout.cpp b/src/Hy3Layout.cpp
 2index a6b416c618f27dc0487fa53ec6ac8ed5727db657..d4690b72a736968cb56ed082195e3d3f63c89b04 100644
 3--- a/src/Hy3Layout.cpp
 4+++ b/src/Hy3Layout.cpp
 5@@ -225,7 +225,7 @@ void Hy3Node::recalcSizePosRecursive(bool force) {
 6 			Debug::log(LOG, "set %p hidden: %d", child, hidden);
 7 			if (child->isIndirectlyFocused()) hid_focused = true;
 8 			child->setHidden(hidden);
 9-			child->recalcSizePosRecursive(force);
10+			if (!hidden) child->recalcSizePosRecursive(force);
11 			break;
12     }
13   }