Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature/library/eclipse.c')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/eclipse.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/eclipse.c b/features/org.eclipse.equinox.executable.feature/library/eclipse.c
index 20a2d3582..9b1b6a1fa 100644
--- a/features/org.eclipse.equinox.executable.feature/library/eclipse.c
+++ b/features/org.eclipse.equinox.executable.feature/library/eclipse.c
@@ -523,6 +523,23 @@ static int _run(int argc, _TCHAR* argv[], _TCHAR* vmArgs[])
setenv("SWT_GTK3","1",1);
}
}
+
+ char *overlayScrollbar = getenv("LIBOVERLAY_SCROLLBAR");
+ if (overlayScrollbar == NULL) {
+ setenv("LIBOVERLAY_SCROLLBAR", "0", 0);
+ }
+ char *oxygenGtkHack = getenv("OXYGEN_DISABLE_INNER_SHADOWS_HACK");
+ if (oxygenGtkHack == NULL) {
+ setenv("OXYGEN_DISABLE_INNER_SHADOWS_HACK", "1", 0);
+ }
+ char *gtk3 = getenv("SWT_GTK3");
+ if (gtk3 == NULL || strcmp(gtk3,"1") == 0) {
+ /* Work around for https://bugzilla.gnome.org/show_bug.cgi?id=677329, see Eclipse bug 435742 */
+ char *gdkCoreDeviceEvents = getenv("GDK_CORE_DEVICE_EVENTS");
+ if (gdkCoreDeviceEvents == NULL) {
+ setenv("GDK_CORE_DEVICE_EVENTS", "1", 0);
+ }
+ }
#endif
#endif

Back to the top