From 3956948fac5c0bf29ee13fd1c299a47a16c05a6d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 1 Mar 2023 15:14:37 +0100 Subject: client: fix wl_display_disconnect() documentation Signed-off-by: Simon Ser Closes: https://gitlab.freedesktop.org/wayland/wayland/-/issues/361 --- src/wayland-client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wayland-client.c b/src/wayland-client.c index 054c0c7..105f9be 100644 --- a/src/wayland-client.c +++ b/src/wayland-client.c @@ -1308,8 +1308,9 @@ wl_display_connect(const char *name) * * \param display The display context object * - * Close the connection to \c display and free all resources associated - * with it. + * Close the connection to \c display. The \ref wl_proxy and + * \ref wl_event_queue objects need to be manually destroyed by the caller + * before disconnecting. * * \memberof wl_display */ -- cgit v1.2.1