Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/no_global_shortcuts_test.cpp
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Line(s) | 101 | { | |||
---|---|---|---|---|---|
112 | kwinApp()->start(); | 112 | kwinApp()->start(); | ||
113 | QVERIFY(workspaceCreatedSpy.wait()); | 113 | QVERIFY(workspaceCreatedSpy.wait()); | ||
114 | waylandServer()->initWorkspace(); | 114 | waylandServer()->initWorkspace(); | ||
115 | } | 115 | } | ||
116 | 116 | | |||
117 | void NoGlobalShortcutsTest::init() | 117 | void NoGlobalShortcutsTest::init() | ||
118 | { | 118 | { | ||
119 | screens()->setCurrent(0); | 119 | screens()->setCurrent(0); | ||
120 | KWin::Cursor::setPos(QPoint(640, 512)); | 120 | KWin::Cursors::self()->mouse()->setPos(QPoint(640, 512)); | ||
121 | } | 121 | } | ||
122 | 122 | | |||
123 | void NoGlobalShortcutsTest::cleanup() | 123 | void NoGlobalShortcutsTest::cleanup() | ||
124 | { | 124 | { | ||
125 | } | 125 | } | ||
126 | 126 | | |||
127 | void NoGlobalShortcutsTest::testTrigger_data() | 127 | void NoGlobalShortcutsTest::testTrigger_data() | ||
128 | { | 128 | { | ||
▲ Show 20 Lines • Show All 157 Lines • Show Last 20 Lines |