dmx: claim we support XI 2.

We don't really, yet, but at least we get the full device list this way.
This commit is contained in:
Peter Hutterer 2008-06-03 21:59:33 +09:30
parent 6f1d5147cb
commit 8da8a0fec4

View File

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