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:
Matthias Melcher
2025-06-19 15:33:38 +02:00
parent 3d13dfefa9
commit eadea6a992
7 changed files with 265 additions and 192 deletions
+2 -4
View File
@@ -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);