aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/gamma-x-vidmode.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-08 16:29:18 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-08 16:29:18 +0200
commitd939dd05e1fad24820bcee4142a5fca482dbbfb7 (patch)
tree2447df3fba8d1ae97c0152bd784fe9d0c0f1ab5b /src/lib/gamma-x-vidmode.c
parentupdate todo (diff)
downloadlibgamma-d939dd05e1fad24820bcee4142a5fca482dbbfb7.tar.gz
libgamma-d939dd05e1fad24820bcee4142a5fca482dbbfb7.tar.bz2
libgamma-d939dd05e1fad24820bcee4142a5fca482dbbfb7.tar.xz
add auto_restore to method caps
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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 29fdc4f..51c86e6 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;
}