slic3r/slic3r-wayland.patch

13 lines
289 B
Diff

diff --git a/slic3r.pl b/slic3r.pl
index 80e6dc7..36d331d 100755
--- a/slic3r.pl
+++ b/slic3r.pl
@@ -20,6 +20,7 @@ use Time::HiRes qw(gettimeofday tv_interval);
$|++;
binmode STDOUT, ':utf8';
binmode STDERR, ':utf8';
+$ENV{GDK_BACKEND} = 'x11';
our %opt = ();
my %cli_options = ();