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

input: fix touch input getting borked on quick tile

The decorationPressId never gets reset as the decoration isn't below the
touch point anymore after the quick tile, so if we have no decoration
under the touch point reset the decorationPressId to -1.

CCBUG: 430560

(cherry picked from commit a4dcfbfb)
parent 1154a6b0
......@@ -1223,6 +1223,12 @@ public:
auto decoration = input()->touch()->decoration();
if (!decoration) {
// can happen when quick tiling
if (input()->touch()->decorationPressId() == id) {
m_lastGlobalTouchPos = QPointF();
m_lastLocalTouchPos = QPointF();
return false;
if (input()->touch()->decorationPressId() == -1) {
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