Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/transient_placement.cpp
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 64 | { | |||
---|---|---|---|---|---|
78 | waylandServer()->initWorkspace(); | 78 | waylandServer()->initWorkspace(); | ||
79 | } | 79 | } | ||
80 | 80 | | |||
81 | void TransientPlacementTest::init() | 81 | void TransientPlacementTest::init() | ||
82 | { | 82 | { | ||
83 | QVERIFY(Test::setupWaylandConnection(Test::AdditionalWaylandInterface::Decoration | Test::AdditionalWaylandInterface::PlasmaShell)); | 83 | QVERIFY(Test::setupWaylandConnection(Test::AdditionalWaylandInterface::Decoration | Test::AdditionalWaylandInterface::PlasmaShell)); | ||
84 | 84 | | |||
85 | screens()->setCurrent(0); | 85 | screens()->setCurrent(0); | ||
86 | Cursor::setPos(QPoint(640, 512)); | 86 | Cursors::self()->mouse()->setPos(QPoint(640, 512)); | ||
87 | } | 87 | } | ||
88 | 88 | | |||
89 | void TransientPlacementTest::cleanup() | 89 | void TransientPlacementTest::cleanup() | ||
90 | { | 90 | { | ||
91 | Test::destroyWaylandConnection(); | 91 | Test::destroyWaylandConnection(); | ||
92 | } | 92 | } | ||
93 | 93 | | |||
94 | void TransientPlacementTest::testXdgPopup_data() | 94 | void TransientPlacementTest::testXdgPopup_data() | ||
▲ Show 20 Lines • Show All 272 Lines • Show Last 20 Lines |