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>
This commit is contained in:
parent
50c2ed1b9d
commit
2f496838f6
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user