Fix randr version check (Alisdair Tullo).

This commit is contained in:
Jon Lund Steffensen
2011-07-04 15:05:05 +02:00
parent 3832a2fc7d
commit fb35f5ae6d
+1 -1
View File
@@ -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);