diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index cac64c6d..c02addb4 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -195,8 +195,8 @@ void CHyprMasterLayout::onWindowCreatedTiling(CWindow* pWindow, eDirection direc } } - if ((*PNEWISMASTER && g_pInputManager->dragMode != MBIND_MOVE) || WINDOWSONWORKSPACE == 1 || (WINDOWSONWORKSPACE > 2 && !pWindow->m_bFirstMap && OPENINGON->isMaster) || - forceDropAsMaster) { + if ((*PNEWISMASTER && g_pInputManager->dragMode != MBIND_MOVE) || WINDOWSONWORKSPACE == 1 || + (WINDOWSONWORKSPACE > 2 && !pWindow->m_bFirstMap && OPENINGON && OPENINGON->isMaster) || forceDropAsMaster) { for (auto& nd : m_lMasterNodesData) { if (nd.isMaster && nd.workspaceID == PNODE->workspaceID) { nd.isMaster = false; diff --git a/subprojects/wlroots b/subprojects/wlroots --- a/subprojects/wlroots +++ b/subprojects/wlroots @@ -1 +1 @@ -Subproject commit 50eae512d9cecbf0b3b1898bb1f0b40fa05fe19b +Subproject commit 50eae512d9cecbf0b3b1898bb1f0b40fa05fe19b-dirty