diff options
author | Marc-Andre Laperle | 2014-04-07 13:06:46 +0000 |
---|---|---|
committer | Silenio Quarti | 2014-04-11 19:56:17 +0000 |
commit | a788ef7b2dabec0d752fb88641f0a24c1c67393f (patch) | |
tree | d7c20bd1bdae976f606c0925fc19f5375887ab08 /features/org.eclipse.equinox.executable.feature | |
parent | f5cc9d2132b31e7eb4fce3d0c8605640f77f7f41 (diff) | |
download | rt.equinox.framework-a788ef7b2dabec0d752fb88641f0a24c1c67393f.tar.gz rt.equinox.framework-a788ef7b2dabec0d752fb88641f0a24c1c67393f.tar.xz rt.equinox.framework-a788ef7b2dabec0d752fb88641f0a24c1c67393f.zip |
Bug 424343 - Disable overlay scrollbars (Ubuntu) by default
Change-Id: Idf32eb6e415eff77f86b1ccba977157483b6e45d
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature')
-rw-r--r-- | features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c | 5 |
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 6a5d5e29b..14c90e3fa 100644 --- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c +++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c @@ -100,6 +100,11 @@ int loadGtk() { #define DLFLAGS RTLD_LAZY #endif + char *overlayScrollbar = getenv("LIBOVERLAY_SCROLLBAR"); + if (overlayScrollbar == NULL) { + setenv("LIBOVERLAY_SCROLLBAR", "0", 0); + } + void *gdkLib = NULL, *gtkLib = NULL, *objLib = NULL, *pixLib = NULL, *x11Lib = NULL; char *gtk3 = getenv("SWT_GTK3"); |