diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-05-08 16:29:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-05-08 16:29:18 +0200 |
commit | d939dd05e1fad24820bcee4142a5fca482dbbfb7 (patch) | |
tree | 2447df3fba8d1ae97c0152bd784fe9d0c0f1ab5b /src/lib/libgamma-method.h | |
parent | update todo (diff) | |
download | libgamma-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/libgamma-method.h')
-rw-r--r-- | src/lib/libgamma-method.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libgamma-method.h b/src/lib/libgamma-method.h index 90fd25c..fc402ec 100644 --- a/src/lib/libgamma-method.h +++ b/src/lib/libgamma-method.h @@ -156,7 +156,7 @@ typedef struct libgamma_method_capabilities * Whether the adjustment method supports `libgamma_crtc_restore`. */ unsigned crtc_restore : 1; - + /** * Whether the `red_gamma_size`, `green_gamma_size` and `blue_gamma_size` * fields in `libgamma_crtc_information_t` will always have the same @@ -187,6 +187,12 @@ typedef struct libgamma_method_capabilities */ unsigned fake : 1; + /** + * Whether adjustments are undone when the process disconnects from + * the display server. + */ + unsigned auto_restore : 1; + } libgamma_method_capabilities_t; |