summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 215e2861e..cf0d72772 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -289,6 +289,7 @@ int fl_wait(double time_to_wait) {
have_message = PeekMessage(&fl_msg, NULL, 0, 0, PM_REMOVE);
}
}
+ Fl::flush();
// idle processing
static char in_idle;
@@ -299,7 +300,6 @@ int fl_wait(double time_to_wait) {
}
run_checks();
- Fl::flush();
// This should return 0 if only timer events were handled:
return 1;