aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/gamma-x-randr.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-08 17:08:09 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-08 17:08:09 +0200
commit07a9ed2de2024b7835e0a813c056deb325bd3a33 (patch)
tree935764154ec57e60024a69068b6cca6ef7250f05 /src/lib/gamma-x-randr.c
parentinfo: update compiling chapter (diff)
parentGamma ramp support test return yes, no or maybe. (diff)
downloadlibgamma-07a9ed2de2024b7835e0a813c056deb325bd3a33.tar.gz
libgamma-07a9ed2de2024b7835e0a813c056deb325bd3a33.tar.bz2
libgamma-07a9ed2de2024b7835e0a813c056deb325bd3a33.tar.xz
Merge branch 'master' into wayland
Diffstat (limited to '')
-rw-r--r--src/lib/gamma-x-randr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/gamma-x-randr.c b/src/lib/gamma-x-randr.c
index 2fefed4..af818f3 100644
--- a/src/lib/gamma-x-randr.c
+++ b/src/lib/gamma-x-randr.c
@@ -155,9 +155,11 @@ void libgamma_x_randr_method_capabilities(libgamma_method_capabilities_t* restri
this->fixed_gamma_size = 0;
/* Gamma ramp depths are fixed. */
this->fixed_gamma_depth = 1;
- /* X RandR is a real non-faked adjustment method */
+ /* X RandR is a real non-faked adjustment method. */
this->real = 1;
this->fake = 0;
+ /* Gamma ramp adjustments are persistent. */
+ this->auto_restore = 0;
}