summaryrefslogtreecommitdiff
path: root/src/Fl_Screen_Driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Screen_Driver.cxx')
-rw-r--r--src/Fl_Screen_Driver.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx
index cd0bdbde3..b10aa13ac 100644
--- a/src/Fl_Screen_Driver.cxx
+++ b/src/Fl_Screen_Driver.cxx
@@ -520,6 +520,15 @@ int Fl_Screen_Driver::parse_color(const char* p, uchar& r, uchar& g, uchar& b)
return 1;
}
+int Fl_Screen_Driver::run_also_windowless() {
+ return Fl::run();
+}
+
+int Fl_Screen_Driver::wait_also_windowless(double delay) {
+ Fl::wait(delay);
+ return Fl::first_window() != NULL;
+}
+
//
// End of "$Id$".
//