<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On 14 July 2014 14:52, Giulio Camuffo <span dir="ltr"><<a href="mailto:giuliocamuffo@gmail.com" target="_blank">giuliocamuffo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><span style="color:rgb(80,0,80)">@@ -851,6 +851,7 @@ wl_display_roundtrip(struct wl_display *display)</span><br>
</div><div><div class="h5">
callback = wl_display_sync(display);<br>
if (callback == NULL)<br>
return -1;<br>
+ wl_proxy_set_queue(callback, queue);<br>
wl_callback_add_listener(callback, &sync_listener, &done);<br>
while (!done && ret >= 0)<br>
ret = wl_display_dispatch(display);<br></div></div></blockquote><div><br></div><div>This should be wl_display_dispatch_queue(display, queue).</div><div><br></div><div>Cheers,</div><div>Daniel </div></div>
</div></div>