4101cfd258fd21d547ca0c0101d7739d6fdb0bc5
- Author
- outfoxxed <outfoxxed@outfoxxed.me>
- Committer
- outfoxxed <outfoxxed@outfoxxed.me>
- Date
Message
fix makegroup toggle
Diff
1diff --git a/CHANGELOG.md b/CHANGELOG.md
2index 71f2a939b823f0a16079b6abc76e176350691fef..1efb001a36e4ea8ee52e8e95791b1b73c0781774 100644
3--- a/CHANGELOG.md
4+++ b/CHANGELOG.md
5@@ -1,5 +1,10 @@
6 # Changelog
7
8+# Upcoming
9+
10+- Fixed makegroup toggle not working.
11+- Fixed window input area covering reserved area.
12+
13 # hl0.54.2 and before
14
15 - Removed no_gaps_when_only in favor of workspace rules.
16diff --git a/src/Hy3Layout.cpp b/src/Hy3Layout.cpp
17index c327aedf3ffdb7fe9d165baf8d3b4a8379042bcc..07dcd543ee99572d888128ca4deea51ec7e2e914 100644
18--- a/src/Hy3Layout.cpp
19+++ b/src/Hy3Layout.cpp
20@@ -618,7 +618,7 @@ void Hy3Layout::makeGroupOnWorkspace(
21 auto& group = parent->as_group();
22
23 if (group.children.size() == 1 && group.layout == layout) {
24- auto* collapsed = parent->collapseParents(CollapsePolicy::InvalidOnly);
25+ auto* collapsed = parent->collapseParents(CollapsePolicy::SingleNodeGroups);
26
27 if (collapsed && !collapsed->is_root()) {
28 collapsed->parent->updateTabBarRecursive();