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