summaryrefslogtreecommitdiff
path: root/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-12-16 21:59:39 +0100
committerMatthias Melcher <github@matthiasm.com>2023-12-16 21:59:43 +0100
commit469d3ef3d5e9bc27eb5cd0ef6532f89568604572 (patch)
tree3a76a496fc53c2d50ab21f1d961b75a54fa1f7c6 /src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
parent638e762d3ebdb0b2e736e1deecaa7d86529fc1e5 (diff)
#842: Enables command line color arguments on macOS
Diffstat (limited to 'src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx')
-rw-r--r--src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
index 012261b2c..7eb98b291 100644
--- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
+++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
@@ -210,6 +210,8 @@ void Fl_Cocoa_Screen_Driver::get_system_colors()
{
open_display();
+ Fl_Screen_Driver::get_system_colors();
+
if (!bg2_set) Fl::background2(0xff, 0xff, 0xff);
if (!fg_set) Fl::foreground(0, 0, 0);
if (!bg_set) Fl::background(0xd8, 0xd8, 0xd8);