Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/input_stacking_order.cpp
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 64 | { | |||
---|---|---|---|---|---|
78 | QCOMPARE(screens()->geometry(1), QRect(1280, 0, 1280, 1024)); | 78 | QCOMPARE(screens()->geometry(1), QRect(1280, 0, 1280, 1024)); | ||
79 | setenv("QT_QPA_PLATFORM", "wayland", true); | 79 | setenv("QT_QPA_PLATFORM", "wayland", true); | ||
80 | waylandServer()->initWorkspace(); | 80 | waylandServer()->initWorkspace(); | ||
81 | } | 81 | } | ||
82 | 82 | | |||
83 | void InputStackingOrderTest::init() | 83 | void InputStackingOrderTest::init() | ||
84 | { | 84 | { | ||
85 | using namespace KWayland::Client; | 85 | using namespace KWayland::Client; | ||
86 | QVERIFY(Test::setupWaylandConnection(s_socketName, Test::AdditionalWaylandInterface::Seat)); | 86 | QVERIFY(Test::setupWaylandConnection(Test::AdditionalWaylandInterface::Seat)); | ||
87 | QVERIFY(Test::waitForWaylandPointer()); | 87 | QVERIFY(Test::waitForWaylandPointer()); | ||
88 | 88 | | |||
89 | screens()->setCurrent(0); | 89 | screens()->setCurrent(0); | ||
90 | Cursor::setPos(QPoint(640, 512)); | 90 | Cursor::setPos(QPoint(640, 512)); | ||
91 | } | 91 | } | ||
92 | 92 | | |||
93 | void InputStackingOrderTest::cleanup() | 93 | void InputStackingOrderTest::cleanup() | ||
94 | { | 94 | { | ||
▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines |