summaryrefslogtreecommitdiff
path: root/src/wayland-client.c
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2012-10-16 17:29:07 +0300
committerKristian Høgsberg <krh@bitplanet.net>2012-10-16 10:50:14 -0400
commit1c10723dfe953fd893b095d62acab0dca954b923 (patch)
treeb0a207bd92da6714a2d65dca9e3491fae231e9db /src/wayland-client.c
parent80e6b7d7ed0b8fdedb85f88f193bbe8da692420f (diff)
doc: Document the restriction of destroying queues before the display
Diffstat (limited to 'src/wayland-client.c')
-rw-r--r--src/wayland-client.c4
1 files changed, 4 insertions, 0 deletions
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