DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2031
Version: 1.3-current
Link: http://www.fltk.org/str.php?L2031
Version: 1.3-current
Index: Fl_x.cxx
===================================================================
--- Fl_x.cxx (revision 6177)
+++ Fl_x.cxx (working copy)
@@ -249,6 +249,7 @@
// fl_ready() is just like fl_wait(0.0) except no callbacks are done:
int fl_ready() {
if (XQLength(fl_display)) return 1;
+ if (!nfds) return 0; // nothing to poll/select
# if USE_POLL
return ::poll(pollfds, nfds, 0);
# else
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs