dwindle: fix moving windows on special

This commit is contained in:
vaxerski 2023-09-14 15:37:41 +01:00
parent e6651334f2
commit 2536630049

View file

@ -912,8 +912,10 @@ void CHyprDwindleLayout::moveWindowTo(CWindow* pWindow, const std::string& dir)
const auto PMONITORFOCAL = g_pCompositor->getMonitorFromVector(focalPoint);
if (PMONITORFOCAL->ID != pWindow->m_iMonitorID) {
pWindow->moveToWorkspace(PMONITORFOCAL->activeWorkspace);
pWindow->m_iMonitorID = PMONITORFOCAL->ID;
}
onWindowCreatedTiling(pWindow);