From 3c235e63cc72c730eee590a517a19fdd0d722ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 23 Aug 2016 10:39:17 +0200 Subject: [PATCH] [autotests] Further verifications in XwaylandInputTest Trying to understand why it fails on build.kde.org... --- autotests/integration/xwayland_input_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autotests/integration/xwayland_input_test.cpp b/autotests/integration/xwayland_input_test.cpp index 1d59608775..43a34da572 100644 --- a/autotests/integration/xwayland_input_test.cpp +++ b/autotests/integration/xwayland_input_test.cpp @@ -28,6 +28,8 @@ along with this program. If not, see . #include "workspace.h" #include "shell_client.h" +#include + #include #include @@ -184,6 +186,8 @@ void XWaylandInputTest::testPointerEnterLeave() QVERIFY(!client->geometry().contains(Cursor::pos())); QVERIFY(enteredSpy.isEmpty()); Cursor::setPos(client->geometry().center()); + QCOMPARE(waylandServer()->seat()->focusedPointerSurface(), client->surface()); + QVERIFY(waylandServer()->seat()->focusedPointer()); QVERIFY(enteredSpy.wait()); // move out of window