Re: [PATCH wayland v2] client: add a public function to make a roundtrip on a custom queue

2014-07-14 Thread Daniel Stone
Hi, On 14 July 2014 14:52, Giulio Camuffo 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

[PATCH wayland v2] client: add a public function to make a roundtrip on a custom queue

2014-07-14 Thread Giulio Camuffo
wl_display_roundtrip() works on the default queue. Add a parallel wl_display_roundtrip_queue(). --- v2: fixed stupid mistake src/wayland-client.c | 21 +++-- src/wayland-client.h | 2 ++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/wayland-client.c b/src/w