From dd11434e901ec616a5acc1008bb1ce4c1ef33a65 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 11 Nov 2022 23:40:55 +0000 Subject: [PATCH] notify idle on touch down --- 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 b416e21b..b07bb915 100644 --- a/src/managers/input/Touch.cpp +++ b/src/managers/input/Touch.cpp @@ -38,6 +38,8 @@ void CInputManager::onTouchDown(wlr_touch_down_event* e) { } wlr_seat_touch_notify_down(g_pCompositor->m_sSeat.seat, m_sTouchData.touchFocusSurface, e->time_msec, e->touch_id, local.x, local.y); + + wlr_idle_notify_activity(g_pCompositor->m_sWLRIdle, g_pCompositor->m_sSeat.seat); } void CInputManager::onTouchUp(wlr_touch_up_event* e){