summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-10-10 13:10:33 +0200
committerPaul Olav Tvete <paul.tvete@qt.io>2016-10-10 11:12:17 +0000
commitad19b0e9d2ef499fcec905cbc969dee2f1ffdca7 (patch)
tree51d91061d019c73e240ccc51438a191cdc2b28e9 /tests
parent45fc04fde82995c251c9ca6fb71dd1cc8fb1023f (diff)
Fix failing test for touch drag
Don't send both touch down and touch move in the same frame. This confuses mouse synthesis. Task-number: QTBUG-56433 Change-Id: I7f0b88d6a27c87464c26ce1c194dc7f07a0eb382 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/client/client/tst_client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/client/client/tst_client.cpp b/tests/auto/client/client/tst_client.cpp
index 74363ef5f..0749239f8 100644
--- a/tests/auto/client/client/tst_client.cpp
+++ b/tests/auto/client/client/tst_client.cpp
@@ -300,6 +300,7 @@ void tst_WaylandClient::touchDrag()
const int id = 0;
compositor->sendTouchDown(surface, QPoint(10, 10), id);
+ compositor->sendTouchFrame(surface);
compositor->sendTouchMotion(surface, QPoint(20, 20), id);
compositor->sendTouchFrame(surface);
compositor->waitForStartDrag();