diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-01-17 11:34:51 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-01-17 11:34:57 +0100 |
| commit | 2ec7e241cd12d270757267beccd3e490ad6e3360 (patch) | |
| tree | d52c6b332a47b001e165ee3497cae2920dfdcf8a /src/managers/input/Touch.cpp | |
| parent | 6a56d1e4d035824ea5dc94180994017346c5c067 (diff) | |
send cursor updates on touch move
Diffstat (limited to 'src/managers/input/Touch.cpp')
| -rw-r--r-- | src/managers/input/Touch.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); } } |
