aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man/libcoopgamma.7
blob: e77646a5648bb7675767a173b22548f8294ab0af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.TH LIBCOOPGAMMA 7 LIBCOOPGAMMA
.SH "NAME"
libcoopgamma - Cooperative gamma library
.SH "DESCRIPTION"
.B libcoopgamma
is a C library that enables programs to communicate with
.BR coopgammad (1),
and eventually
.BR mds-coopgamma (1).
The advantage of using
.B libcoopgamma
over directly communicating with the display server is
you get support for multiple display servers transparently
(just like with
.BR libgamma (7)),
more importantly, all programs that use libcoopgamma can
change the gamma ramps without overriding each others
changes, they add their own filters. Filters are ordered
by their selected priority and chained together by the
cooperative gamma server (
.BR coopgammad (1)
or
.BR mds-coopgamma (1))
and the result is applied. A third advantage is that you
can choose when the filter shall be removed, this can
either be not until it is explicitly requested, or until
the client that add (or lasted modified) the filter
disconnects from the server or when explicitly requested,
whichever comes first.
.P
.B libcoopgamma
prints warnings and errors, that cannot be returned,
to stderr. It is preferred that you have a non-static
.I "char *"
with the name
.I argv0
where the name of the process
.RI ( argv[0] )
is stored.
.SH "RATIONALE"
One program cannot do everything and still be user friendly.
.SH "SEE ALSO"
.BR libcoopgamma.h (0),
.BR coopgammad (1),
.BR gc-tools (7),
.BR libclut (7)