summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-02-08 12:47:40 +0000
committerManolo Gouy <Manolo>2018-02-08 12:47:40 +0000
commitb78b2f7f5f24b98640d31bb8ee7b573703e8cc19 (patch)
treef7fa162655da6b426cf8915e2549d877fe9836d6 /src/Fl_cocoa.mm
parent0c8ca7944a13a7143846ed448c9f88e088031ae1 (diff)
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
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm4
1 files changed, 2 insertions, 2 deletions
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();
}