Author: manolo
Date: 2011-10-12 05:38:32 -0700 (Wed, 12 Oct 2011)
New Revision: 9131
Log:
Mac OS: don't generate an FL_SCREEN_CONFIGURATION_CHANGED event at application
startup.
Modified:
branches/branch-1.3/src/Fl_cocoa.mm
Modified: branches/branch-1.3/src/Fl_cocoa.mm
===================================================================
--- branches/branch-1.3/src/Fl_cocoa.mm 2011-10-10 08:54:59 UTC (rev 9130)
+++ branches/branch-1.3/src/Fl_cocoa.mm 2011-10-12 12:38:32 UTC (rev 9131)
@@ -1295,7 +1295,7 @@
selector:@selector(anywindowwillclosenotif:)
name:NSWindowWillCloseNotification
object:nil];
- [[NSNotificationCenter defaultCenter]
postNotificationName:NSApplicationDidChangeScreenParametersNotification
object:NSApp];
+ main_screen_height = [[[NSScreen screens] objectAtIndex:0]
frame].size.height;
}
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit