[PATCH wayland 2/4] doc: Document the restriction of destroying queues before the display

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Tue Oct 16 07:29:07 PDT 2012


---
 src/wayland-client.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/wayland-client.c b/src/wayland-client.c
index 2de80fd..1c660ef 100644
--- a/src/wayland-client.c
+++ b/src/wayland-client.c
@@ -139,6 +139,10 @@ wl_event_queue_release(struct wl_event_queue *queue)
  * Destroy the given event queue. Any pending event on that queue is
  * discarded.
  *
+ * The \ref wl_display object used to create the queue should not be
+ * destroyed until all event queues created with it are destroyed with
+ * this function.
+ *
  * \memberof wl_event_queue
  */
 WL_EXPORT void
-- 
1.7.9.5



More information about the wayland-devel mailing list