Commit a977ba33 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

GlobalShortcutsTest: Fix testNonLatinLayout

Have it switch back from the Russian layout, otherwise the rest of tests
are run with this one and fail as they produce weird shortcuts.
parent 282e0d1c
......@@ -76,6 +76,9 @@ void GlobalShortcutsTest::init()
QVERIFY(Test::setupWaylandConnection());
screens()->setCurrent(0);
KWin::Cursors::self()->mouse()->setPos(QPoint(640, 512));
auto xkb = input()->keyboard()->xkb();
xkb->switchToLayout(0);
}
void GlobalShortcutsTest::cleanup()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment