aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/vncviewer.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-01-22 15:12:41 +0100
committerPierre Ossman <ossman@cendio.se>2018-01-22 15:12:41 +0100
commit490b3198f7d806ce29e2908ffc03fbea80948b8f (patch)
tree33bca5a6b98a2d75a59ad6a3a164d2906f3f9113 /vncviewer/vncviewer.cxx
parentde4db7335399d11497ed77dcab550c361b8677d3 (diff)
downloadtigervnc-490b3198f7d806ce29e2908ffc03fbea80948b8f.tar.gz
tigervnc-490b3198f7d806ce29e2908ffc03fbea80948b8f.zip
Update UI look on macOS
macOS no longer uses the old Aqua look, so tweak our things to fit in better with the current state of things.
Diffstat (limited to 'vncviewer/vncviewer.cxx')
-rw-r--r--vncviewer/vncviewer.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
index 53ff4b0c..426be27b 100644
--- a/vncviewer/vncviewer.cxx
+++ b/vncviewer/vncviewer.cxx
@@ -185,14 +185,14 @@ static void init_fltk()
// Basic text size (10pt @ 96 dpi => 13px)
FL_NORMAL_SIZE = 13;
-#ifndef __APPLE__
// Select a FLTK scheme and background color that looks somewhat
- // close to modern Linux and Windows.
+ // close to modern systems
Fl::scheme("gtk+");
Fl::background(220, 220, 220);
-#else
- // On Mac OS X there is another scheme that fits better though.
- Fl::scheme("plastic");
+
+ // macOS has a slightly brighter default background though
+#ifdef __APPLE__
+ Fl::background(240, 240, 240);
#endif
// Proper Gnome Shell integration requires that we set a sensible