Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2018-05-02 12:07:59 +0000
committerSravan Kumar Lakkimsetti2018-05-04 15:33:09 +0000
commitd111acbae39f5c650e5c87748d9529d8c6f6a57b (patch)
tree9606e598470615718343524fc573d158d6cb7993 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk
parentd9bbf1cfdd042b993a44382f3a7ce533947a811b (diff)
downloadeclipse.platform.swt-d111acbae39f5c650e5c87748d9529d8c6f6a57b.tar.gz
eclipse.platform.swt-d111acbae39f5c650e5c87748d9529d8c6f6a57b.tar.xz
eclipse.platform.swt-d111acbae39f5c650e5c87748d9529d8c6f6a57b.zip
Bug 530932 - Enable native scaling on Linux GTK
Change-Id: I98a9fcd461739f27f62f0179c4df4ea6ece6f370 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
index b83491e7ba..89115227c8 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
@@ -74,11 +74,6 @@ public class OS extends C {
/** Initialization; load native libraries */
static {
- if (!OS.IsWin32) {
- // only applicable for X11 but OS.isX11() is not available yet
- String scalingProperty = "GDK_SCALE";
- C.setenv(ascii(scalingProperty), ascii("1"), 1);
- }
String propertyName = "SWT_GTK3";
String gtk3 = getEnvironmentalVariable (propertyName);
if (gtk3 != null && gtk3.equals("0")) {

Back to the top