From 4a0728a4d30b374d19ef680ea93427a00ac3d2ce Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 19 Jul 2011 22:55:01 +0200 Subject: Add configure option for using new JBT6k74 sysfs codes Signed-off-by: Thomas White --- src/glamo-output.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/glamo-output.c b/src/glamo-output.c index eea3cb2..974e192 100644 --- a/src/glamo-output.c +++ b/src/glamo-output.c @@ -40,9 +40,14 @@ #include "glamo.h" #ifdef JBT6K74_SET_STATE +#ifdef JBT6K74_NEW_STATE_CODES +static const char jbt6k74_state_vga[] = "vga"; +static const char jbt6k74_state_qvga[] = "qvga"; +#else /* JBT6K74_NEW_STATE_CODES */ static const char jbt6k74_state_vga[] = "normal"; static const char jbt6k74_state_qvga[] = "qvga-normal"; -#endif +#endif /* JBT6K74_NEW_STATE_CODES */ +#endif /* JBT6K74_SET_STATE */ typedef struct _GlamoOutput { DisplayModePtr modes; -- cgit v1.2.3