Commit ebacbb1c authored by Xaver Hugl's avatar Xaver Hugl
Browse files

input: fix touchscreen gesture detection

When a gesture is cancelled because of the distance between fingers or the
time it took to register them all, no gesture has been taken yet. In that
case, the canceling would never be ended, effectively disabling all touchscreen

(cherry picked from commit 9957f8c8)
parent 8d02eabe
Pipeline #181594 passed with stage
in 24 minutes and 31 seconds
......@@ -1131,8 +1131,10 @@ public:
m_gestureTaken &= m_touchPoints.count() > 0;
m_gestureCancelled &= m_gestureTaken;
return true;
} else {
m_gestureCancelled &= m_touchPoints.count() > 0;
return false;
return false;
bool touchCancel() override
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment