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:
parent
3b34e9309b
commit
3492f52179
1 changed files with 4 additions and 4 deletions
|
@ -1786,10 +1786,10 @@ void PointerInputTest::testMoveCursor()
|
||||||
Test::pointerButtonPressed(BTN_LEFT, timestamp++);
|
Test::pointerButtonPressed(BTN_LEFT, timestamp++);
|
||||||
QVERIFY(window->isInteractiveMove());
|
QVERIFY(window->isInteractiveMove());
|
||||||
|
|
||||||
const PlatformCursorImage sizeAllCursor = loadReferenceThemeCursor(Qt::SizeAllCursor);
|
const PlatformCursorImage moveCursor = loadReferenceThemeCursor(Qt::ClosedHandCursor);
|
||||||
QVERIFY(!sizeAllCursor.isNull());
|
QVERIFY(!moveCursor.isNull());
|
||||||
QCOMPARE(kwinApp()->cursorImage().image(), sizeAllCursor.image());
|
QCOMPARE(kwinApp()->cursorImage().image(), moveCursor.image());
|
||||||
QCOMPARE(kwinApp()->cursorImage().hotSpot(), sizeAllCursor.hotSpot());
|
QCOMPARE(kwinApp()->cursorImage().hotSpot(), moveCursor.hotSpot());
|
||||||
|
|
||||||
// finish moving the window
|
// finish moving the window
|
||||||
Test::keyboardKeyReleased(KEY_LEFTMETA, timestamp++);
|
Test::keyboardKeyReleased(KEY_LEFTMETA, timestamp++);
|
||||||
|
|
Loading…
Reference in a new issue