mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
fix mfact not applying to addmaster (#1715)
Co-authored-by: Hill <hillyu@live.com>
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user