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
This commit is contained in:
Manolo Gouy
2011-10-12 12:38:32 +00:00
parent 594918c817
commit 9f15516f5e
+1 -1
View File
@@ -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;
}
}