aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/gamma-x-randr.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-randr.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-randr.c')
-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 21b6ca6..b3115a6 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;
}