diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2017-10-11 20:57:29 -0700 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2017-10-13 18:12:43 -0700 |
commit | 1d29f92349843851d26cc453598cbe3a3f4fd5f1 (patch) | |
tree | 4bc99decf721bdee01045744024fad38f49d09b3 /src/gamma-vidmode.c | |
parent | Allocate module data in init functions (diff) | |
download | redshift-ng-1d29f92349843851d26cc453598cbe3a3f4fd5f1.tar.gz redshift-ng-1d29f92349843851d26cc453598cbe3a3f4fd5f1.tar.bz2 redshift-ng-1d29f92349843851d26cc453598cbe3a3f4fd5f1.tar.xz |
Move module structures out of headers
Diffstat (limited to 'src/gamma-vidmode.c')
-rw-r--r-- | src/gamma-vidmode.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gamma-vidmode.c b/src/gamma-vidmode.c index 8d1791a..76950c8 100644 --- a/src/gamma-vidmode.c +++ b/src/gamma-vidmode.c @@ -37,6 +37,15 @@ #include "colorramp.h" +typedef struct { + Display *display; + int preserve; + int screen_num; + int ramp_size; + uint16_t *saved_ramps; +} vidmode_state_t; + + static int vidmode_init(vidmode_state_t **state) { |