From 3fe270b804d25d276d1021092ec53c1d79069873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 10 Jul 2015 08:57:56 +0200 Subject: [PATCH] [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". --- main_wayland.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main_wayland.cpp b/main_wayland.cpp index 9ca37e3997..b1b778d6bc 100644 --- a/main_wayland.cpp +++ b/main_wayland.cpp @@ -461,6 +461,7 @@ int main(int argc, char * argv[]) qunsetenv("QT_IM_MODULE"); qputenv("WAYLAND_SOCKET", QByteArray::number(server->createQtConnection())); qputenv("QT_WAYLAND_DISABLE_WINDOWDECORATION", "1"); + qputenv("QSG_RENDER_LOOP", "basic"); KWin::ApplicationWayland a(argc, argv); a.setupTranslator(); a.setProcessStartupEnvironment(environment);