Julien Cristau <jcris...@debian.org> writes:

> Doesn't this break when e.g. client supports 2.2 and server supports
> 1.4, where we'll return 2.2 instead of 1.4?  i.e. it seems to me this
> should be
>
> if (rep.majorVersion > stuff->majorVersion ||
>     (rep.majorVersion == stuff->majorVersion &&
>      rep.minorVersion > stuff->minorVersion)) {
>      ...
> }

Yeah, probably. Of course, we will "never" have a major version change
as that would indicate an incompatible change in the protocol.

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to