Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2014-12-30 12:04:59 +0000
committerArun Thondapu2015-03-26 13:44:04 +0000
commit39d9982476ebf65e11ae2454434f2e6a8b1de26e (patch)
tree24b0868f89d94e787ae98eb28f2c869c01dc341f /features
parent0c153584f04094823be47d02575318f879fd52d3 (diff)
downloadrt.equinox.framework-39d9982476ebf65e11ae2454434f2e6a8b1de26e.tar.gz
rt.equinox.framework-39d9982476ebf65e11ae2454434f2e6a8b1de26e.tar.xz
rt.equinox.framework-39d9982476ebf65e11ae2454434f2e6a8b1de26e.zip
Bug 432673 - SWT GTK3 doesn't render tables with GTK3 Theme "oxygen-gtk"
According to the developers of the oxygen-gtk theme, the OXYGEN_DISABLE_INNER_SHADOWS_HACK=1 variable is supposed to fix issues with rendering of non-true-GTK apps like Eclipse on GTK3 with the oxygen-gtk theme set. See https://bugs.kde.org/show_bug.cgi?id=342318 for details. Change-Id: I1f881f7ce4a5c9a84536b7e1859d3d120b7f58de Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Diffstat (limited to 'features')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c
index 5e37448cb..9b6a77728 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c
@@ -114,6 +114,11 @@ int loadGtk() {
setenv("LIBOVERLAY_SCROLLBAR", "0", 0);
}
+ char *oxygenGtkHack = getenv("OXYGEN_DISABLE_INNER_SHADOWS_HACK");
+ if (oxygenGtkHack == NULL) {
+ setenv("OXYGEN_DISABLE_INNER_SHADOWS_HACK", "1", 0);
+ }
+
void *gdkLib = NULL, *gtkLib = NULL, *objLib = NULL, *pixLib = NULL, *x11Lib = NULL;
char *gtk3 = getenv("SWT_GTK3");

Back to the top