diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-03-02 21:10:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-02 21:10:21 +0000 |
| commit | 75a815fbf28b73f3b9f9b9246ed3eb1fbd9b2a58 (patch) | |
| tree | 528fa1fdea51f905010034a4228ad74a3c117551 /src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp | |
| parent | 3b7401b065d78582fe67591f37d36021e94d2f0a (diff) | |
algo/dwindle: use focal point correctly for x-ws moves (#13514)
Diffstat (limited to 'src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp')
| -rw-r--r-- | src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp index 35234f1f..94e658d3 100644 --- a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp +++ b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.cpp @@ -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(); |
