summaryrefslogtreecommitdiff
path: root/src/common/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/events.c')
-rw-r--r--src/common/events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/events.c b/src/common/events.c
index b318d0c..83baf11 100644
--- a/src/common/events.c
+++ b/src/common/events.c
@@ -200,6 +200,8 @@ bool yasl_private_events_push(struct yasl_private_display *d, struct yasl_surfac
if (!ok) d->events->error = errno;
yasl_private_mutex_unlock(&d->events->mutex);
if (!ok) dispose(node);
+ /* The owner's next step sees the queue; another thread must wake it. */
+ yasl_private_loop_wake(d->loop);
return ok;
failed:
yasl_private_mutex_lock(&d->events->mutex);