[autotests] Further verifications in XwaylandInputTest
Trying to understand why it fails on build.kde.org...
This commit is contained in:
parent
33ca7750c2
commit
3c235e63cc
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue