algo/dwindle: use focal point correctly for x-ws moves (#13514)
This commit is contained in:
parent
3b7401b065
commit
75a815fbf2
6 changed files with 40 additions and 28 deletions
|
|
@ -951,7 +951,7 @@ void CScrollingAlgorithm::moveTargetTo(SP<ITarget> t, Math::eDirection dir, bool
|
|||
// with the original dir
|
||||
const auto MONINDIR = g_pCompositor->getMonitorInDirection(m_parent->space()->workspace()->m_monitor.lock(), dir);
|
||||
if (MONINDIR && MONINDIR != m_parent->space()->workspace()->m_monitor && MONINDIR->m_activeWorkspace) {
|
||||
t->assignToSpace(MONINDIR->m_activeWorkspace->m_space);
|
||||
t->assignToSpace(MONINDIR->m_activeWorkspace->m_space, focalPointForDir(t, dir));
|
||||
|
||||
m_scrollingData->recalculate();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue