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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gamma-vidmode.c b/src/gamma-vidmode.c
index 505fba0..634fc37 100644
--- a/src/gamma-vidmode.c
+++ b/src/gamma-vidmode.c
@@ -21,6 +21,13 @@
static int
+vidmode_is_available(void)
+{
+ return libgamma_is_method_available(LIBGAMMA_METHOD_X_VIDMODE);
+}
+
+
+static int
vidmode_create(struct gamma_state **state_out)
{
return direct_create(state_out, LIBGAMMA_METHOD_X_VIDMODE, "vidmode");