client: wake-up threads on all return paths from read_events
client: wake-up threads on all return paths from read_events

If wl_connection_read returned EAGAIN, we must wake up sleeping
threads. If we don't do this and the thread calling
wl_connection_read won't call wl_display_read_events again,
the sleeping threads will sleep indefinitely.

Signed-off-by: Marek Chalupa <a05df156a69ad59faa9af9b666ef78009594c145@gmail.com>
Reviewed-by: Pekka Paalanen <0f6ae7001e34c37b02fb2c1c2573ddf8f442136a@collabora.co.uk>

tulcod/wayland,tulcod/wayland,bitfactor/wayland,sir-murray/wayland,sir-murray/wayland,abooij/wayland,bitfactor/wayland,sir-murray/wayland,eyolfson/wayland,abooij/wayland,abooij/wayland,mchalupa/wayland,eyolfson/wayland,bitfactor/wayland,eyolfson/wayland,mchalupa/wayland,tulcod/wayland,mchalupa/wayland