aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/input
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-11-11 23:40:55 +0000
committervaxerski <[email protected]>2022-11-11 23:41:04 +0000
commitdd11434e901ec616a5acc1008bb1ce4c1ef33a65 (patch)
tree7f07334776e844584c24cf6e084dc967acc72e57 /src/managers/input
parent61995e3b4ef526274519528278fd62089240e3fc (diff)
downloadHyprland-dd11434e901ec616a5acc1008bb1ce4c1ef33a65.tar.gz
Hyprland-dd11434e901ec616a5acc1008bb1ce4c1ef33a65.zip
notify idle on touch down
Diffstat (limited to 'src/managers/input')
-rw-r--r--src/managers/input/Touch.cpp2
1 files changed, 2 insertions, 0 deletions
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){