Commit 90c6ba20 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

autotests: Fix TouchInputTest::testCancel()

If a TOUCH_UP event is received after a TOUCH_CANCEL event, this is
most likely a libinput bug. TOUCH_CANCEL events act as TOUCH_UP events.
parent 2df429ce
......@@ -233,10 +233,6 @@ void TouchInputTest::testCancel()
kwinApp()->platform()->touchCancel();
QVERIFY(cancelSpy.wait());
QCOMPARE(cancelSpy.count(), 1);
kwinApp()->platform()->touchUp(1, timestamp++);
QVERIFY(!pointRemovedSpy.wait(100));
QCOMPARE(pointRemovedSpy.count(), 0);
}
void TouchInputTest::testTouchMouseAction()
......
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