eclipse/prefer_x11_backend.patch
Mat Booth d8b4167392 Drop workaround for metainfo problem
Add patch for javascript/webkit2 bug ebz#525340
Add missing mocking deps for contributor-tools
2017-10-02 13:26:06 +01:00

15 lines
539 B
Diff

--- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c.orig 2016-10-13 16:53:39.092748697 +0100
+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c 2016-10-13 17:01:12.350231281 +0100
@@ -119,6 +119,11 @@
setenv("OXYGEN_DISABLE_INNER_SHADOWS_HACK", "1", 0);
}
+ char *gdkBackend = getenv("GDK_BACKEND");
+ if (gdkBackend == NULL) {
+ setenv("GDK_BACKEND", "x11", 0);
+ }
+
/* Disable GTK scaling*/
setenv("GDK_SCALE", "1", 1);