Fixes 5030: fix segfault (#5075)

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
This commit is contained in:
Jamin Collins 2024-05-03 08:52:47 -06:00 committed by GitHub
parent 44432e2cc4
commit c2e19b65a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();