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


I agree that opening the display without any FLTK calls whatsoever might be
dangerous. But that might be overkill.

The issue here is that fd:s (and timers?) won't work without an open
display. So the solution seems to me to be to open display when you call
add_fd() or add_timeout(). This principle seems to hold for other things
as fl_open_display() is called from stuff like Fl::get_mouse().

I tried doing this here and it solves the issue.


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