Revert "dmx: claim we support XI 2."

XQueryInputVersion doesn't exist anymore and for now XI 1 support is good
enough.

This reverts commit 8da8a0fec4.
This commit is contained in:
Peter Hutterer 2009-08-04 15:23:01 +10:00
parent e7c950c627
commit 654d7a0260

View File

@ -845,7 +845,7 @@ static void dmxInputScanForExtensions(DMXInputInfo *dmxInput, int doXI)
/* Print out information about the XInput Extension. */
handler = XSetExtensionErrorHandler(dmxInputExtensionErrorHandler);
ext = XQueryInputVersion(display, XI_2_Major, XI_2_Minor);
ext = XGetExtensionVersion(display, INAME);
XSetExtensionErrorHandler(handler);
if (!ext || ext == (XExtensionVersion *)NoSuchExtension) {