summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
index 137b6fb81..771122e83 100644
--- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
+++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
@@ -83,6 +83,7 @@ Fl_Cocoa_Screen_Driver::Fl_Cocoa_Screen_Driver() {
void Fl_Cocoa_Screen_Driver::init()
{
+ open_display();
CGDirectDisplayID displays[MAX_SCREENS];
CGDisplayCount count, i;
CGRect r;