From 6421c8217b38d7b5605c652b89793b2de0192d91 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 20 Nov 2026 15:45:17 +0100 Subject: Add libgamma_get_fd and fix some minor issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/libgamma.texinfo | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'info/libgamma.texinfo') diff --git a/info/libgamma.texinfo b/info/libgamma.texinfo index 3094e95..eed4cfa 100644 --- a/info/libgamma.texinfo +++ b/info/libgamma.texinfo @@ -250,6 +250,14 @@ to determine the default site for the adjustment method. @end table +The function @code{libgamma_get_fd} takes the site +state as its only argument and returns the file +descriptor used to communicate with the display +server. It returns @code{-1} if the adjustment +method does not use a file descriptor for that +communication. The returned file descriptor is owned +by the site state and must not be closed by the caller. + To release all resources held by a site state, call the function @code{libgamma_site_destroy}, whose only parameter is the site state to -- cgit v1.3.1