Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/screen_changes_test.cpp
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 47 | { | |||
---|---|---|---|---|---|
56 | waylandServer()->initWorkspace(); | 56 | waylandServer()->initWorkspace(); | ||
57 | } | 57 | } | ||
58 | 58 | | |||
59 | void ScreenChangesTest::init() | 59 | void ScreenChangesTest::init() | ||
60 | { | 60 | { | ||
61 | QVERIFY(Test::setupWaylandConnection()); | 61 | QVERIFY(Test::setupWaylandConnection()); | ||
62 | 62 | | |||
63 | screens()->setCurrent(0); | 63 | screens()->setCurrent(0); | ||
64 | KWin::Cursor::setPos(QPoint(640, 512)); | 64 | KWin::Cursors::self()->mouse()->setPos(QPoint(640, 512)); | ||
65 | } | 65 | } | ||
66 | 66 | | |||
67 | void ScreenChangesTest::cleanup() | 67 | void ScreenChangesTest::cleanup() | ||
68 | { | 68 | { | ||
69 | Test::destroyWaylandConnection(); | 69 | Test::destroyWaylandConnection(); | ||
70 | } | 70 | } | ||
71 | 71 | | |||
72 | void ScreenChangesTest::testScreenAddRemove() | 72 | void ScreenChangesTest::testScreenAddRemove() | ||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |