mirror of
https://github.com/fltk/fltk.git
synced 2026-09-25 01:46:59 +08:00
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:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user