From 1e6bc1c73aa2a080aa0b50525d4edac1e80f7861 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 11 Aug 2015 11:47:21 +0000 Subject: Improved Mac OS implementation of Fl_Window::wait_for_expose(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Window.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/Fl_Window.cxx') diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index 50bc65e94..134d886de 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -401,6 +401,8 @@ void Fl_Window::free_icons() { #endif } + +#ifndef __APPLE__ /** Waits for the window to be displayed after calling show(). @@ -462,14 +464,11 @@ 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 } +#endif // ! __APPLE__ // // End of "$Id$". -- cgit v1.2.3