diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index 5035e3a87..2492c5050 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -464,6 +464,7 @@ int Fl::run() { } int Fl::wait() { + if (!Fl_X::first) return 0; wait(FOREVER); return Fl_X::first != 0; // return true if there is a window } |
