[autotests] Further verifications in XwaylandInputTest

Trying to understand why it fails on build.kde.org...
This commit is contained in:
Martin Gräßlin 2016-08-23 10:39:17 +02:00
parent 33ca7750c2
commit 3c235e63cc

View file

@ -28,6 +28,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "workspace.h"
#include "shell_client.h"
#include <KWayland/Server/seat_interface.h>
#include <QSocketNotifier>
#include <netwm.h>
@ -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