diff options
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index b38c652d1..cf4853b7d 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -1295,7 +1295,7 @@ void fl_open_display() { selector:@selector(anywindowwillclosenotif:) name:NSWindowWillCloseNotification object:nil]; - [[NSNotificationCenter defaultCenter] postNotificationName:NSApplicationDidChangeScreenParametersNotification object:NSApp]; + main_screen_height = [[[NSScreen screens] objectAtIndex:0] frame].size.height; } } |
