[PATCH wayland v2] client: add a public function to make a roundtrip on a custom queue
Daniel Stone
daniel at fooishbar.org
Mon Jul 14 07:08:21 PDT 2014
Hi,
On 14 July 2014 14:52, Giulio Camuffo <giuliocamuffo at gmail.com> wrote:
> @@ -851,6 +851,7 @@ wl_display_roundtrip(struct wl_display *display)
> callback = wl_display_sync(display);
> if (callback == NULL)
> return -1;
> + wl_proxy_set_queue(callback, queue);
> wl_callback_add_listener(callback, &sync_listener, &done);
> while (!done && ret >= 0)
> ret = wl_display_dispatch(display);
>
This should be wl_display_dispatch_queue(display, queue).
Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140714/67527459/attachment.html>
More information about the wayland-devel
mailing list