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