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