From eaf5748742af8fda1acce49a476ddb6b3eb7fb35 Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Wed, 20 Dec 2023 16:03:27 +0800 Subject: [PATCH] FIX: set WEBKIT_DISABLE_COMPOSITING_MODE=1 for linux gtk Change-Id: I8a500585ca815948bab1210578ba5c45858ed78e Jira: STUDIO-5199 --- src/BambuStudio.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BambuStudio.cpp b/src/BambuStudio.cpp index 6a9f05163..0b3afab68 100644 --- a/src/BambuStudio.cpp +++ b/src/BambuStudio.cpp @@ -889,6 +889,8 @@ int CLI::run(int argc, char **argv) // instruct the window manager to fall back to X server mode. ::setenv("GDK_BACKEND", "x11", /* replace */ true); + ::setenv("WEBKIT_DISABLE_COMPOSITING_MODE", "1", /* replace */ false); + // Also on Linux, we need to tell Xlib that we will be using threads, // lest we crash when we fire up GStreamer. XInitThreads();