mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 04:09:49 +01:00
dwindle: fix moving windows on special
This commit is contained in:
parent
e6651334f2
commit
2536630049
1 changed files with 4 additions and 2 deletions
|
@ -912,8 +912,10 @@ void CHyprDwindleLayout::moveWindowTo(CWindow* pWindow, const std::string& dir)
|
|||
|
||||
const auto PMONITORFOCAL = g_pCompositor->getMonitorFromVector(focalPoint);
|
||||
|
||||
pWindow->moveToWorkspace(PMONITORFOCAL->activeWorkspace);
|
||||
pWindow->m_iMonitorID = PMONITORFOCAL->ID;
|
||||
if (PMONITORFOCAL->ID != pWindow->m_iMonitorID) {
|
||||
pWindow->moveToWorkspace(PMONITORFOCAL->activeWorkspace);
|
||||
pWindow->m_iMonitorID = PMONITORFOCAL->ID;
|
||||
}
|
||||
|
||||
onWindowCreatedTiling(pWindow);
|
||||
|
||||
|
|
Loading…
Reference in a new issue