From 3492f52179b6ac41a14afdcaf9153f18d988e8da Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 9 Jul 2024 00:58:59 +0300 Subject: [PATCH] autotests: Fix cursor shape in PointerInputTest::testMoveCursor() The cursor during interactive move had been changed to the "grabbing" cursor shape in d7772031b1a3427a41ac0f40dc282f8f41e8b601. --- autotests/integration/pointer_input.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autotests/integration/pointer_input.cpp b/autotests/integration/pointer_input.cpp index 51758e61d9..38eec2db5e 100644 --- a/autotests/integration/pointer_input.cpp +++ b/autotests/integration/pointer_input.cpp @@ -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++);