Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2016-02-25 20:02:56 +0000
committerArun Thondapu2016-03-12 15:47:07 +0000
commitb16a2553c43ecbe6d28400f654c7974acc183072 (patch)
treedc7c79176580bfad9dd77ddf8a8c4ae133b8afe9 /features
parent8212782d77fdb4398b407273fcefb694605793a1 (diff)
downloadrt.equinox.framework-b16a2553c43ecbe6d28400f654c7974acc183072.tar.gz
rt.equinox.framework-b16a2553c43ecbe6d28400f654c7974acc183072.tar.xz
rt.equinox.framework-b16a2553c43ecbe6d28400f654c7974acc183072.zip
Bug 399786 - launcher change for highDPI support - GTK only
Change-Id: I0ecfdfc3d3097308c39e7c5f006e1f5857752e06 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'features')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c3
1 files changed, 3 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 8abe5d615..2b956a92d 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/eclipseGtkInit.c
@@ -118,6 +118,9 @@ int loadGtk() {
if (oxygenGtkHack == NULL) {
setenv("OXYGEN_DISABLE_INNER_SHADOWS_HACK", "1", 0);
}
+
+ /* Disable GTK scaling*/
+ setenv("GDK_SCALE", "1", 1);
void *gdkLib = NULL, *gtkLib = NULL, *objLib = NULL, *pixLib = NULL, *x11Lib = NULL;

Back to the top