mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-24 07:33:14 +08:00
FIX: set WEBKIT_DISABLE_COMPOSITING_MODE=1 for linux gtk
Change-Id: I8a500585ca815948bab1210578ba5c45858ed78e Jira: STUDIO-5199
This commit is contained in:
parent
818416d081
commit
eaf5748742
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user