diff options
| author | Manolo Gouy <Manolo> | 2011-10-12 12:38:32 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-10-12 12:38:32 +0000 |
| commit | 9f15516f5e1c2a72a62cc22faff4023a9bb870cd (patch) | |
| tree | 091e997b26596d75c60bc1270550b359b4497727 /src | |
| parent | 594918c817a865cab3d6aa009a33ee1d01aba441 (diff) | |
Mac OS: don't generate an FL_SCREEN_CONFIGURATION_CHANGED event at application startup.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -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; } } |
