Blob Blame History Raw
diff -r 13113574c8fc src/3Depict.cpp
--- src/3Depict.cpp	Sun Aug 11 23:16:43 2019 +0100
+++ src/3Depict.cpp	Sun Aug 11 23:17:35 2019 +0100
@@ -76,6 +76,17 @@
 
 };
 
+//Wayland workaround - wx bug 17702
+#ifdef __WXGTK3__
+struct ForceX11 {
+	ForceX11(){
+		setenv("GDK_BACKEND","x11",1);
+	}
+};
+
+static struct ForceX11 forcex11;
+#endif
+
 //Check version is in place because wxT is deprecated for wx 2.9
 //Command line parameter table
 static const wxCmdLineEntryDesc g_cmdLineDesc [] =