mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 19:45: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
|
@ -122,7 +122,8 @@ void CHyprMasterLayout::onWindowCreatedTiling(CWindow* pWindow) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} 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