diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2009-12-23 16:40:18 +0100 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2009-12-23 16:40:18 +0100 |
commit | ee1619957c9ed6cf31c9263e687d45915f3e600b (patch) | |
tree | 31ea9992399316208fafd2a1b431b77be5cc3f2b /redshift.c | |
parent | Rescale blackbody values above 6500K to be in [0,1]. (diff) | |
download | redshift-ng-ee1619957c9ed6cf31c9263e687d45915f3e600b.tar.gz redshift-ng-ee1619957c9ed6cf31c9263e687d45915f3e600b.tar.bz2 redshift-ng-ee1619957c9ed6cf31c9263e687d45915f3e600b.tar.xz |
Move RandR code to separate file.
Diffstat (limited to 'redshift.c')
-rw-r--r-- | redshift.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -26,7 +26,7 @@ #include <locale.h> #include "solar.h" -#include "colortemp.h" +#include "randr.h" /* Bounds for parameters. */ @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) { /* Check extensions needed for color temperature adjustment. */ - int r = colortemp_check_extension(); + int r = randr_check_extension(); if (r < 0) { fprintf(stderr, "Unable to set color temperature:" " Needed extension is missing.\n"); @@ -236,7 +236,7 @@ main(int argc, char *argv[]) } /* Set color temperature */ - r = colortemp_set_temperature(temp, gamma); + r = randr_set_temperature(temp, gamma); if (r < 0) { fprintf(stderr, "Unable to set color temperature.\n"); exit(EXIT_FAILURE); |