summaryrefslogtreecommitdiff
path: root/src/managers/input/Touch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/input/Touch.cpp')
-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 2d3842f9..631bd569 100644
--- a/src/managers/input/Touch.cpp
+++ b/src/managers/input/Touch.cpp
@@ -124,6 +124,8 @@ void CInputManager::onTouchUp(ITouch::SUpEvent e) {
void CInputManager::onTouchMove(ITouch::SMotionEvent e) {
m_lastInputTouch = true;
+ m_lastCursorMovement.reset();
+
EMIT_HOOK_EVENT_CANCELLABLE("touchMove", e);
if (g_pUnifiedWorkspaceSwipe->isGestureInProgress()) {
// Do nothing if this is using a different finger.