Xi: disable XI for clients < XI 2.0
Sorry. With the huge changes in the device handling I honestly don't know how to support XI and XI2 alongside. So let's just pretend XI doesn't exist if a client doesn't request it supporting XI2.
This commit is contained in:
parent
b304b0a65c
commit
8973a3f798
|
@ -122,7 +122,10 @@ ProcXGetExtensionVersion(ClientPtr client)
|
|||
rep.RepType = X_GetExtensionVersion;
|
||||
rep.length = 0;
|
||||
rep.sequenceNumber = client->sequence;
|
||||
rep.present = TRUE;
|
||||
if (!pXIClient->major_version < XI_2_Major) /* sorry, no XI 1.x anymore. */
|
||||
rep.present = FALSE;
|
||||
else
|
||||
rep.present = TRUE;
|
||||
rep.major_version = AllExtensionVersions[IReqCode - 128].major_version;
|
||||
rep.minor_version = AllExtensionVersions[IReqCode - 128].minor_version;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user