From 6befc5d11b00d4f3d98dc6fb337b6915feb9bb20 Mon Sep 17 00:00:00 2001 From: David Redondo Date: Wed, 15 Nov 2023 10:38:15 +0100 Subject: [PATCH] Do not set QSG_RENDER_LOOP Variable This leaks to other processes that are started by KWin. The QPA sets ThreadedOpenGL capability to false which suffices to use the basic render loop with OpenGL. --- src/main_wayland.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main_wayland.cpp b/src/main_wayland.cpp index 500107b802..7303fb9947 100644 --- a/src/main_wayland.cpp +++ b/src/main_wayland.cpp @@ -273,7 +273,6 @@ int main(int argc, char *argv[]) setenv("QT_QPA_PLATFORM", "wayland-org.kde.kwin.qpa", true); qunsetenv("QT_DEVICE_PIXEL_RATIO"); - qputenv("QSG_RENDER_LOOP", "basic"); KWin::ApplicationWayland a(argc, argv); // reset QT_QPA_PLATFORM so we don't propagate it to our children (e.g. apps launched from the overview effect)