aboutsummaryrefslogtreecommitdiffstats
path: root/info/libgamma.texinfo
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-11-20 15:45:17 +0100
committerMattias Andrée <m@maandree.se>2026-11-20 15:45:17 +0100
commit6421c8217b38d7b5605c652b89793b2de0192d91 (patch)
tree5234e86fc5d223be29e0751b0e6165d26ba12f55 /info/libgamma.texinfo
parentfix typo (diff)
downloadlibgamma-0.9.tar.gz
libgamma-0.9.tar.bz2
libgamma-0.9.tar.xz
Add libgamma_get_fd and fix some minor issuesHEAD0.9master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'info/libgamma.texinfo')
-rw-r--r--info/libgamma.texinfo8
1 files changed, 8 insertions, 0 deletions
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