diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index c6cf2b4ccee..edada9183fc 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -1084,7 +1084,7 @@ Vector2D CHyprDwindleLayout::predictSizeForNewWindowTiled() { // create a fake node SDwindleNodeData node; - if (!candidate) + if (!candidate || candidate->monitorID() != g_pCompositor->m_pLastMonitor->ID) return g_pCompositor->m_pLastMonitor->vecSize; else { const auto PNODE = getNodeFromWindow(candidate);