diff options
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); |