autotests: Fix cursor shape in PointerInputTest::testMoveCursor()

The cursor during interactive move had been changed to the "grabbing"
cursor shape in d7772031b1.
This commit is contained in:
Vlad Zahorodnii 2024-07-09 00:58:59 +03:00
parent 3b34e9309b
commit 3492f52179

View file

@ -1786,10 +1786,10 @@ void PointerInputTest::testMoveCursor()
Test::pointerButtonPressed(BTN_LEFT, timestamp++);
QVERIFY(window->isInteractiveMove());
const PlatformCursorImage sizeAllCursor = loadReferenceThemeCursor(Qt::SizeAllCursor);
QVERIFY(!sizeAllCursor.isNull());
QCOMPARE(kwinApp()->cursorImage().image(), sizeAllCursor.image());
QCOMPARE(kwinApp()->cursorImage().hotSpot(), sizeAllCursor.hotSpot());
const PlatformCursorImage moveCursor = loadReferenceThemeCursor(Qt::ClosedHandCursor);
QVERIFY(!moveCursor.isNull());
QCOMPARE(kwinApp()->cursorImage().image(), moveCursor.image());
QCOMPARE(kwinApp()->cursorImage().hotSpot(), moveCursor.hotSpot());
// finish moving the window
Test::keyboardKeyReleased(KEY_LEFTMETA, timestamp++);