[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:
Martin Flöser 2017-09-17 20:54:32 +02:00
parent 0c6fdeef2d
commit e55e437d86

View file

@ -97,6 +97,7 @@ void ModifierOnlyShortcutTest::initTestCase()
kwinApp()->setConfig(KSharedConfig::openConfig(QString(), KConfig::SimpleConfig));
qputenv("KWIN_XKB_DEFAULT_KEYMAP", "1");
qputenv("XKB_DEFAULT_RULES", "evdev");
kwinApp()->start();
QVERIFY(workspaceCreatedSpy.wait());