On 12 January 2016 at 04:31, Jonas Ådahl <[email protected]> wrote:
> wl_display_flush() may fail with EAGAIN which means that not all data
> waiting in the buffer has been flushed. We later block until there
> data to read, which could mean that we block on input from the
> compositor without having sent out all data from the client. Avoid this
> by fully flushing the socket before starting to wait.
>
> Signed-off-by: Jonas Ådahl <[email protected]>

Biting my tongue on a coding-style bikeshed.

Reviewed-by: Daniel Stone <[email protected]>
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to