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