From 827fa250f3bfd0c9dc68d1483ae3c41b144adfee Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 20 Sep 2016 12:58:51 +0000 Subject: Remove fl_wait() that is not part of the public API. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_x.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_x.cxx') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index b2fadf936..3ba9ba6bc 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -230,7 +230,7 @@ void (*fl_unlock_function)() = nothing; // This is never called with time_to_wait < 0.0: // It should return negative on error, 0 if nothing happens before // timeout, and >0 if any callbacks were done. -int fl_wait(double time_to_wait) { +int Fl_X11_Screen_Driver::poll_or_select_with_delay(double time_to_wait) { // OpenGL and other broken libraries call XEventsQueued // unnecessarily and thus cause the file descriptor to not be ready, @@ -283,7 +283,7 @@ int fl_wait(double time_to_wait) { return n; } -// just like fl_wait(0.0) except no callbacks are done: +// just like Fl_X11_Screen_Driver::poll_or_select_with_delay(0.0) except no callbacks are done: int Fl_X11_Screen_Driver::poll_or_select() { if (XQLength(fl_display)) return 1; if (!nfds) return 0; // nothing to select or poll -- cgit v1.2.3