From 73949dba91e7d0c7a3940cb86c94f8cf77aed87b Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Sun, 31 Oct 2021 21:26:01 +0200 Subject: [PATCH] autotests: Fix MoveResizeWindowTest --- autotests/integration/move_resize_window_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autotests/integration/move_resize_window_test.cpp b/autotests/integration/move_resize_window_test.cpp index 56dcc5fbc3..510ba98c8f 100644 --- a/autotests/integration/move_resize_window_test.cpp +++ b/autotests/integration/move_resize_window_test.cpp @@ -148,7 +148,7 @@ void MoveResizeWindowTest::testMove() QCOMPARE(moveResizedChangedSpy.count(), 1); QCOMPARE(windowStartUserMovedResizedSpy.count(), 1); QCOMPARE(c->isInteractiveMove(), true); - QCOMPARE(c->geometryRestore(), QRect(0, 0, 100, 50)); + QCOMPARE(c->geometryRestore(), QRect()); // send some key events, not going through input redirection const QPoint cursorPos = Cursors::self()->mouse()->pos(); @@ -247,7 +247,7 @@ void MoveResizeWindowTest::testResize() QCOMPARE(startMoveResizedSpy.count(), 1); QCOMPARE(moveResizedChangedSpy.count(), 1); QCOMPARE(c->isInteractiveResize(), true); - QCOMPARE(c->geometryRestore(), QRect(0, 0, 100, 50)); + QCOMPARE(c->geometryRestore(), QRect()); QVERIFY(surfaceConfigureRequestedSpy.wait()); QCOMPARE(surfaceConfigureRequestedSpy.count(), 3); QCOMPARE(toplevelConfigureRequestedSpy.count(), 3);