From b78b2f7f5f24b98640d31bb8ee7b573703e8cc19 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 8 Feb 2018 12:47:40 +0000 Subject: Move xxx_also_windowless member functions from Fl_System_Driver to Fl_Screen_Driver. Because these functions are related to Fl_Screen_Driver::wait(double) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_cocoa.mm') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 5fbd2cbf2..20ac19641 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -1719,14 +1719,14 @@ static void drain_dropped_files_list() { free(fname); } -int Fl_Darwin_System_Driver::run_also_windowless() { +int Fl_Cocoa_Screen_Driver::run_also_windowless() { while (!Fl::program_should_quit()) { Fl::wait(1e20); } return 0; } -int Fl_Darwin_System_Driver::wait_also_windowless(double delay) { +int Fl_Cocoa_Screen_Driver::wait_also_windowless(double delay) { if (!Fl::program_should_quit()) Fl::wait(delay); return !Fl::program_should_quit(); } -- cgit v1.2.3