Fix expand not working on nodes

It's still rather broken but at least you can expand them now
This commit is contained in:
outfoxxed 2023-08-16 01:33:56 -07:00
parent acd07dee93
commit 7bb536e709
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E

View file

@ -1074,7 +1074,7 @@ void Hy3Layout::expand(int workspace_id, ExpandOption option, ExpandFullscreenOp
} }
} }
if (node->data.type == Hy3NodeType::Group) if (node->data.type == Hy3NodeType::Group && !node->data.as_group.group_focused)
node->data.as_group.expand_focused = ExpandFocusType::Stack; node->data.as_group.expand_focused = ExpandFocusType::Stack;
auto& group = node->parent->data.as_group; auto& group = node->parent->data.as_group;