[PATCH xinput 1/2] Centralise supported major/minor version.

Alan Coopersmith alan.coopersmith at oracle.com
Wed Oct 26 07:20:17 PDT 2011


On 10/26/11 02:03, walter harms wrote:
> I do not know how the version code handling is done with Xorg.
> In most cases it is done like this example from linux/version.h
> That would reduce the _major,_minor to a simple _version.

X protocol extensions have been encoding major,minor as two separate
numbers since long before the first line of linux code was written.

     CARD16      major_version B16;
     CARD16      minor_version B16;

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list