aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/gamma-x-vidmode.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-vidmode.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 'src/lib/gamma-x-vidmode.c')
-rw-r--r--src/lib/gamma-x-vidmode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/gamma-x-vidmode.c b/src/lib/gamma-x-vidmode.c
index 71f318b..9651894 100644
--- a/src/lib/gamma-x-vidmode.c
+++ b/src/lib/gamma-x-vidmode.c
@@ -60,6 +60,8 @@ void libgamma_x_vidmode_method_capabilities(libgamma_method_capabilities_t* rest
/* X VidMode is a real non-faked adjustment method */
this->real = 1;
this->fake = 0;
+ /* Gamma ramp adjustments are persistent. */
+ this->auto_restore = 0;
}