Possible fix of #12969 #13046

This commit is contained in:
David Kocik 2024-09-23 14:11:53 +02:00 committed by Lukas Matena
parent 03e0957f21
commit c3ca39d5c5

View File

@ -91,6 +91,10 @@ int CLI::run(int argc, char **argv)
// startup if gtk3 is used. This env var has to be set explicitly to
// instruct the window manager to fall back to X server mode.
::setenv("GDK_BACKEND", "x11", /* replace */ true);
// https://github.com/prusa3d/PrusaSlicer/issues/12969
::setenv("WEBKIT_DISABLE_COMPOSITING_MODE", "1", /* replace */ false);
::setenv("WEBKIT_DISABLE_DMABUF_RENDERER", "1", /* replace */ false);
#endif
// Switch boost::filesystem to utf8.