mirror of
https://github.com/fltk/fltk.git
synced 2026-05-24 00:06:20 +08:00
Update Fl::await() and friends API and documentation
This creates the base for #1263, but does not fix it yet.
This commit is contained in:
+2
-4
@@ -87,10 +87,8 @@ extern "C" void* prime_func(void* p)
|
||||
Fl::unlock();
|
||||
|
||||
// Send a message to the main thread, at which point it will
|
||||
// process any pending redraws for our browser widget. The
|
||||
// message we pass here isn't used for anything, so we could also
|
||||
// just pass NULL.
|
||||
Fl::awake(p);
|
||||
// process any pending redraws for our browser widget.
|
||||
Fl::awake();
|
||||
if (n>10000 && !proud) {
|
||||
proud = 1;
|
||||
Fl::awake(magic_number_cb, value);
|
||||
|
||||
Reference in New Issue
Block a user