summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_win32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 4eb2a1262..215e2861e 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -288,7 +288,6 @@ int fl_wait(double time_to_wait) {
DispatchMessage(&fl_msg);
have_message = PeekMessage(&fl_msg, NULL, 0, 0, PM_REMOVE);
}
- Fl::flush();
}
// idle processing
@@ -300,6 +299,7 @@ int fl_wait(double time_to_wait) {
}
run_checks();
+ Fl::flush();
// This should return 0 if only timer events were handled:
return 1;