diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2011-07-04 15:05:05 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2011-07-04 15:05:05 +0200 |
commit | fb35f5ae6ddd4d141f9822d51c1e9f8decaecff6 (patch) | |
tree | 5328c6eb25775df4088edd9a43545f86ccbaf62e /src/gamma-randr.c | |
parent | Add option to show program version (-V). (diff) | |
download | redshift-ng-fb35f5ae6ddd4d141f9822d51c1e9f8decaecff6.tar.gz redshift-ng-fb35f5ae6ddd4d141f9822d51c1e9f8decaecff6.tar.bz2 redshift-ng-fb35f5ae6ddd4d141f9822d51c1e9f8decaecff6.tar.xz |
Fix randr version check (Alisdair Tullo).
Diffstat (limited to 'src/gamma-randr.c')
-rw-r--r-- | src/gamma-randr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamma-randr.c b/src/gamma-randr.c index 8781e92..c6320f9 100644 --- a/src/gamma-randr.c +++ b/src/gamma-randr.c @@ -72,7 +72,7 @@ randr_init(randr_state_t *state) return -1; } - if (ver_reply->major_version < RANDR_VERSION_MAJOR || + if (ver_reply->major_version != RANDR_VERSION_MAJOR || ver_reply->minor_version < RANDR_VERSION_MINOR) { fprintf(stderr, _("Unsupported RANDR version (%u.%u)\n"), ver_reply->major_version, ver_reply->minor_version); |