aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-randr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-randr.c')
-rw-r--r--src/gamma-randr.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gamma-randr.c b/src/gamma-randr.c
index ec70746..990ac91 100644
--- a/src/gamma-randr.c
+++ b/src/gamma-randr.c
@@ -290,6 +290,17 @@ randr_free(randr_state_t *state)
xcb_disconnect(state->conn);
}
+void
+randr_print_help(FILE *f)
+{
+ fputs(_("Adjust gamma ramps with the X RANDR extension.\n"), f);
+ fputs("\n", f);
+
+ fputs(_(" screen=N\tX screen to apply adjustments to\n"
+ " crtc=N\tCRTC to apply adjustments to\n"), f);
+ fputs("\n", f);
+}
+
static int
randr_set_temperature_for_crtc(randr_state_t *state, int crtc_num, int temp,
float gamma[3])