Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmi Shanmugam2018-10-12 12:29:24 +0000
committerLakshmi Shanmugam2018-10-12 12:29:24 +0000
commita35cc4fcf86e4356dc9e591ed9718fe6cc911a9a (patch)
treec226e6128ab2834a22fa0c1d132b4dcb3d9fb427
parentb7f9ee185c5fda2bc82474b9f515146205a789bd (diff)
downloadeclipse.platform.swt-a35cc4fcf86e4356dc9e591ed9718fe6cc911a9a.tar.gz
eclipse.platform.swt-a35cc4fcf86e4356dc9e591ed9718fe6cc911a9a.tar.xz
eclipse.platform.swt-a35cc4fcf86e4356dc9e591ed9718fe6cc911a9a.zip
Bug 539660: Shell background under macOS 10.14 (Mojave) is white instead
of gray NSColor.controlBackgroundColor() is white so change back to NSColor.controlHighlightColor() Change-Id: Ic5100d6971672b9b67acbf2bc08c7851354c8dd9
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
index 9bca7898d4..50b853c450 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
@@ -1868,7 +1868,7 @@ double /*float*/ [] getWidgetColorRGB (int id) {
case SWT.COLOR_WIDGET_HIGHLIGHT_SHADOW: color = NSColor.controlLightHighlightColor(); break;
case SWT.COLOR_WIDGET_BACKGROUND:
color = OS.VERSION_MMB >= OS.VERSION_MMB (10, 14, 0) ? NSColor.windowBackgroundColor()
- : NSColor.controlBackgroundColor();
+ : NSColor.controlHighlightColor();
break;
case SWT.COLOR_WIDGET_FOREGROUND: color = NSColor.controlTextColor(); break;
case SWT.COLOR_WIDGET_BORDER: color = NSColor.blackColor (); break;

Back to the top