mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 14:05:58 +01:00
fix mfact not applying to addmaster (#1715)
Co-authored-by: Hill <hillyu@live.com>
This commit is contained in:
parent
7739b776cd
commit
4f647a8e8b
1 changed files with 2 additions and 1 deletions
|
@ -123,6 +123,7 @@ void CHyprMasterLayout::onWindowCreatedTiling(CWindow* pWindow) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
PNODE->isMaster = false;
|
PNODE->isMaster = false;
|
||||||
|
PNODE->percMaster = lastSplitPercent;
|
||||||
|
|
||||||
// first, check if it isn't too big.
|
// first, check if it isn't too big.
|
||||||
if (const auto MAXSIZE = g_pXWaylandManager->getMaxSizeForWindow(pWindow);
|
if (const auto MAXSIZE = g_pXWaylandManager->getMaxSizeForWindow(pWindow);
|
||||||
|
|
Loading…
Reference in a new issue