DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2580
Version: 1.3-current


Events (including fd events) are recovered inside Fl::wait() by
  [NSApp nextEventMatchingMask:NSAnyEventMask
that makes use of the NSApp global variable which is created by
  [FLApplication sharedApplication];
in fl_open_display().

I have no idea what will nextEventMatchingMask return if NSApp hasn't
been created yet, but the Apple doc says, about the sharedApplication
method:
"Your program should invoke this method as one of the first 
statements in main()"

It's thus not safe, on Mac OS X, to call Fl::wait() without having 
called fl_open_display() before.


Link: http://www.fltk.org/str.php?L2580
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to