From 12604b76763abf96b513ad45a1700efae6b5c420 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 15 Apr 2023 21:27:07 +0100 Subject: [PATCH] compositor: ignore contraints on warp in moveWorkspaceToMonitor --- src/Compositor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 57d19ee4..b90084d5 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -1931,8 +1931,7 @@ void CCompositor::moveWorkspaceToMonitor(CWorkspace* pWorkspace, CMonitor* pMoni pWorkspace->startAnim(true, true, true); - wlr_cursor_warp(m_sWLRCursor, m_sSeat.mouse->mouse, pMonitor->vecPosition.x + pMonitor->vecTransformedSize.x / 2, - pMonitor->vecPosition.y + pMonitor->vecTransformedSize.y / 2); + wlr_cursor_warp(m_sWLRCursor, nullptr, pMonitor->vecPosition.x + pMonitor->vecTransformedSize.x / 2, pMonitor->vecPosition.y + pMonitor->vecTransformedSize.y / 2); } // finalize