wayland-client: link all event-queues of each display into a list
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 11 Oct 2012 21:37:51 +0000 (23:37 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 15 Oct 2012 21:27:59 +0000 (17:27 -0400)
commit780b9806709d7c7a711d609f35e7e2554745c301
tree5e38c776806cd26613d5e04519f77d9d066c0a3f
parent04720307e91c45a772858fd3fcb0203a0b68ac17
wayland-client: link all event-queues of each display into a list

We need access to all event-queues of a single wl_display object. For
instance during connection-errors, we need to be able to wake up all event
queues. Otherwise, they will be stuck waiting for incoming events.

The API user is responsible to keep a wl_display object around until all
event-queues that were created on it are destroyed.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/wayland-client.c