From fb35f5ae6ddd4d141f9822d51c1e9f8decaecff6 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Mon, 4 Jul 2011 15:05:05 +0200 Subject: Fix randr version check (Alisdair Tullo). --- src/gamma-randr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gamma-randr.c') 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); -- cgit v1.2.3-70-g09d2