diff options
Diffstat (limited to 'src/Fl_Window.cxx')
| -rw-r--r-- | src/Fl_Window.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index b4d3c621f..50bc65e94 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -462,9 +462,13 @@ void Fl_Window::free_icons() { void Fl_Window::wait_for_expose() { if (!shown()) return; +#ifdef __APPLE__ + Fl_X::do_wait_for_expose(); +#else while (!i || i->wait_for_expose) { Fl::wait(); } +#endif } // |
