mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-16 03:03:40 +01:00
Fix onWindowCreatedTiling not respecting selection of the root node
Would previously defer to its last focused child
This commit is contained in:
parent
fe98ccaf9a
commit
da5ad66cbc
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ void Hy3Layout::onWindowCreatedTiling(CWindow* window) {
|
||||||
|
|
||||||
// opening_after->parent cannot be nullptr
|
// opening_after->parent cannot be nullptr
|
||||||
if (opening_after == root) {
|
if (opening_after == root) {
|
||||||
opening_after = root->data.as_group.focused_child;
|
opening_after = opening_after->intoGroup(Hy3GroupLayout::SplitH);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue