aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-vidmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-vidmode.c')
-rw-r--r--src/gamma-vidmode.c9
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)
{