autotests: Force OpenGL compositing in testPointerInput

Window View effect requires OpenGL compositing.
This commit is contained in:
Vlad Zahorodnii 2022-05-19 11:30:26 +03:00
parent e08cd40e8e
commit 3b46067fc1

View file

@ -149,6 +149,7 @@ void PointerInputTest::initTestCase()
}
qputenv("XCURSOR_SIZE", QByteArrayLiteral("24"));
qputenv("XKB_DEFAULT_RULES", "evdev");
qputenv("KWIN_COMPOSE", QByteArrayLiteral("O2"));
kwinApp()->start();
QVERIFY(applicationStartedSpy.wait());