[autotests] Verify in XWaylandInputTest that cursor is not on new mapped window

Test fails on build.kde.org. This just adds an additional condition to
verify that the setup is correct.
This commit is contained in:
Martin Gräßlin 2016-08-23 09:40:23 +02:00
parent efb62fd2ff
commit a0154d01eb

View file

@ -181,6 +181,7 @@ void XWaylandInputTest::testPointerEnterLeave()
QVERIFY(client->surface());
// move pointer into the window, should trigger an enter
QVERIFY(!client->geometry().contains(Cursor::pos()));
Cursor::setPos(client->geometry().center());
QVERIFY(enteredSpy.wait());