Blame SOURCES/prefer_x11_backend.patch

d433ea
--- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c.orig	2018-08-22 15:19:04.602623018 +0100
d433ea
+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c	2018-08-22 15:20:03.453348722 +0100
d433ea
@@ -114,6 +114,11 @@
d433ea
 #define DLFLAGS RTLD_LAZY
d433ea
 #endif
d433ea
 
d433ea
+	char *gdkBackend = getenv("GDK_BACKEND");
d433ea
+	if (gdkBackend == NULL) {
d433ea
+		setenv("GDK_BACKEND", "x11", 0);
d433ea
+	}
d433ea
+
d433ea
 	void *gioLib = NULL, *glibLib = NULL, *gdkLib = NULL, *gtkLib = NULL, *objLib = NULL, *pixLib = NULL;
d433ea
 	
d433ea
 	gdkLib = dlopen(GDK3_LIB, DLFLAGS);