mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Fixes 5030: fix segfault (#5075)
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
This commit is contained in:
@@ -892,8 +892,6 @@ int CLI::run(int argc, char **argv)
|
|||||||
// instruct the window manager to fall back to X server mode.
|
// instruct the window manager to fall back to X server mode.
|
||||||
::setenv("GDK_BACKEND", "x11", /* replace */ true);
|
::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,
|
// Also on Linux, we need to tell Xlib that we will be using threads,
|
||||||
// lest we crash when we fire up GStreamer.
|
// lest we crash when we fire up GStreamer.
|
||||||
XInitThreads();
|
XInitThreads();
|
||||||
|
|||||||
Reference in New Issue
Block a user