aboutsummaryrefslogtreecommitdiffstats
path: root/src/randr.c
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2009-12-23 18:25:56 +0100
committerJon Lund Steffensen <jonlst@gmail.com>2009-12-23 18:25:56 +0100
commitcfeb79731abcc6e9a6cc0379473b86faebb6c88d (patch)
tree2082bdef3a1e9b5eece1ad6afdd82f581fa5d0b2 /src/randr.c
parentMove source and headers to src dir. (diff)
downloadredshift-ng-cfeb79731abcc6e9a6cc0379473b86faebb6c88d.tar.gz
redshift-ng-cfeb79731abcc6e9a6cc0379473b86faebb6c88d.tar.bz2
redshift-ng-cfeb79731abcc6e9a6cc0379473b86faebb6c88d.tar.xz
Add setting gamma ramps with the VidMode extension.
Allow selection of gamma setting method with program parameter (-m). Fallback to VidMode if RANDR doesn't work.
Diffstat (limited to 'src/randr.c')
-rw-r--r--src/randr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/randr.c b/src/randr.c
index 5226b81..a209bc8 100644
--- a/src/randr.c
+++ b/src/randr.c
@@ -115,7 +115,7 @@ randr_set_temperature(int temp, float gamma[3])
free(gamma_size_reply);
if (gamma_ramp_size == 0) {
- fprintf(stderr, "Error: Gamma ramp size too small, %i\n",
+ fprintf(stderr, "Error: Gamma ramp size too small: %i\n",
gamma_ramp_size);
xcb_disconnect(conn);
return -1;