From 2ec7e241cd12d270757267beccd3e490ad6e3360 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Tue, 17 Jan 2023 11:34:51 +0100 Subject: [PATCH] send cursor updates on touch move --- src/managers/input/Touch.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/managers/input/Touch.cpp b/src/managers/input/Touch.cpp index 9c0c2a8d..984e0019 100644 --- a/src/managers/input/Touch.cpp +++ b/src/managers/input/Touch.cpp @@ -59,6 +59,7 @@ void CInputManager::onTouchMove(wlr_touch_motion_event* e) { const auto local = g_pInputManager->getMouseCoordsInternal() - m_sTouchData.touchSurfaceOrigin; wlr_seat_touch_notify_motion(g_pCompositor->m_sSeat.seat, e->time_msec, e->touch_id, local.x, local.y); + wlr_seat_pointer_notify_motion(g_pCompositor->m_sSeat.seat, e->time_msec, local.x, local.y); } else if (m_sTouchData.touchFocusLS) { const auto PMONITOR = g_pCompositor->getMonitorFromID(m_sTouchData.touchFocusLS->monitorID); @@ -68,6 +69,7 @@ void CInputManager::onTouchMove(wlr_touch_motion_event* e) { const auto local = g_pInputManager->getMouseCoordsInternal() - m_sTouchData.touchSurfaceOrigin; wlr_seat_touch_notify_motion(g_pCompositor->m_sSeat.seat, e->time_msec, e->touch_id, local.x, local.y); + wlr_seat_pointer_notify_motion(g_pCompositor->m_sSeat.seat, e->time_msec, local.x, local.y); } }