remember master width on master close

This commit is contained in:
vaxerski 2022-12-17 22:52:58 +00:00
parent 2daabfa0e9
commit 563835404f

View file

@ -148,6 +148,7 @@ void CHyprMasterLayout::onWindowRemovedTiling(CWindow* pWindow) {
for (auto& nd : m_lMasterNodesData) {
if (!nd.isMaster && nd.workspaceID == PNODE->workspaceID) {
nd.isMaster = true;
nd.percMaster = PNODE->percMaster;
break;
}
}