[wayland] Enforce basic render loop
Looks like Qt 5.5 changed the default back to threaded and that can result in dead locks of the compositor. So better enforce to basic for the time being. Another reason to have an own QPA to get rid of these "regressions".
This commit is contained in:
parent
f304a49a58
commit
3fe270b804
1 changed files with 1 additions and 0 deletions
|
@ -461,6 +461,7 @@ int main(int argc, char * argv[])
|
||||||
qunsetenv("QT_IM_MODULE");
|
qunsetenv("QT_IM_MODULE");
|
||||||
qputenv("WAYLAND_SOCKET", QByteArray::number(server->createQtConnection()));
|
qputenv("WAYLAND_SOCKET", QByteArray::number(server->createQtConnection()));
|
||||||
qputenv("QT_WAYLAND_DISABLE_WINDOWDECORATION", "1");
|
qputenv("QT_WAYLAND_DISABLE_WINDOWDECORATION", "1");
|
||||||
|
qputenv("QSG_RENDER_LOOP", "basic");
|
||||||
KWin::ApplicationWayland a(argc, argv);
|
KWin::ApplicationWayland a(argc, argv);
|
||||||
a.setupTranslator();
|
a.setupTranslator();
|
||||||
a.setProcessStartupEnvironment(environment);
|
a.setProcessStartupEnvironment(environment);
|
||||||
|
|
Loading…
Reference in a new issue