[autotests] Force XKB_DEFAULT_RULES to evdev in ModifierOnlyShortcutsTest
This is an idea to fix the failing test on FreeBSD (see T6624). For Linux this does not change anything.
This commit is contained in:
parent
0c6fdeef2d
commit
e55e437d86
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ void ModifierOnlyShortcutTest::initTestCase()
|
||||||
|
|
||||||
kwinApp()->setConfig(KSharedConfig::openConfig(QString(), KConfig::SimpleConfig));
|
kwinApp()->setConfig(KSharedConfig::openConfig(QString(), KConfig::SimpleConfig));
|
||||||
qputenv("KWIN_XKB_DEFAULT_KEYMAP", "1");
|
qputenv("KWIN_XKB_DEFAULT_KEYMAP", "1");
|
||||||
|
qputenv("XKB_DEFAULT_RULES", "evdev");
|
||||||
|
|
||||||
kwinApp()->start();
|
kwinApp()->start();
|
||||||
QVERIFY(workspaceCreatedSpy.wait());
|
QVERIFY(workspaceCreatedSpy.wait());
|
||||||
|
|
Loading…
Reference in a new issue