Author: manolo
Date: 2011-10-12 05:44:25 -0700 (Wed, 12 Oct 2011)
New Revision: 9132
Log:
Mac OS: don't generate an fltk3::SCREEN_CONFIGURATION_CHANGED event at 
application startup.

Modified:
   branches/branch-3.0/src/fltk3/cocoa.mm

Modified: branches/branch-3.0/src/fltk3/cocoa.mm
===================================================================
--- branches/branch-3.0/src/fltk3/cocoa.mm      2011-10-12 12:38:32 UTC (rev 
9131)
+++ branches/branch-3.0/src/fltk3/cocoa.mm      2011-10-12 12:44:25 UTC (rev 
9132)
@@ -1296,7 +1296,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

Reply via email to