Moved 'flush' before 'idle' in main loop fl_wait to make redraw action quicker.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2005-11-04 09:16:16 +00:00
parent 4663981310
commit b1d3eae6f2
1 changed files with 1 additions and 1 deletions

View File

@ -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;