diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index f62d1add..152f7685 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -122,7 +122,8 @@ void CHyprMasterLayout::onWindowCreatedTiling(CWindow* pWindow) { return; } } else { - PNODE->isMaster = false; + PNODE->isMaster = false; + PNODE->percMaster = lastSplitPercent; // first, check if it isn't too big. if (const auto MAXSIZE = g_pXWaylandManager->getMaxSizeForWindow(pWindow);