aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickpointerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/handlers/qquickpointerhandler.cpp')
-rw-r--r--src/quick/handlers/qquickpointerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/handlers/qquickpointerhandler.cpp b/src/quick/handlers/qquickpointerhandler.cpp
index f625b50f10..8f113ddd56 100644
--- a/src/quick/handlers/qquickpointerhandler.cpp
+++ b/src/quick/handlers/qquickpointerhandler.cpp
@@ -205,7 +205,7 @@ void QQuickPointerHandler::handlePointerEvent(QQuickPointerEvent *event)
int pCount = event->pointCount();
for (int i = 0; i < pCount; ++i) {
QQuickEventPoint *pt = event->point(i);
- if (pt->grabberPointerHandler() == this)
+ if (pt->grabberPointerHandler() == this && pt->state() != QQuickEventPoint::Stationary)
pt->cancelExclusiveGrab();
}
}