diff options
Diffstat (limited to 'src/wayland/backend.c')
| -rw-r--r-- | src/wayland/backend.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wayland/backend.c b/src/wayland/backend.c index da7f1a3..31e412f 100644 --- a/src/wayland/backend.c +++ b/src/wayland/backend.c @@ -21,6 +21,11 @@ static void impl_display_dispatch(struct yasl_display *d) wayland_display_dispatch((struct wayland_display *)d); } +static int impl_display_dispatch_timeout(struct yasl_display *d, int timeout_ms) +{ + return wayland_display_dispatch_timeout((struct wayland_display *)d, timeout_ms); +} + static void impl_display_flush(struct yasl_display *d) { wayland_display_flush((struct wayland_display *)d); @@ -195,6 +200,7 @@ const struct yasl_backend_ops yasl_wayland_backend = { .display_close = impl_display_close, .display_caps = impl_display_caps, .display_dispatch = impl_display_dispatch, + .display_dispatch_timeout = impl_display_dispatch_timeout, .display_flush = impl_display_flush, .display_modifiers = impl_display_modifiers, .display_copy = impl_display_copy, |
