mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 23:21:57 -07:00
remember master width on master close
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user