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:
parent
6f1d5147cb
commit
8da8a0fec4
|
@ -865,7 +865,7 @@ static void dmxInputScanForExtensions(DMXInputInfo *dmxInput, int doXI)
|
||||||
|
|
||||||
/* Print out information about the XInput Extension. */
|
/* Print out information about the XInput Extension. */
|
||||||
handler = XSetExtensionErrorHandler(dmxInputExtensionErrorHandler);
|
handler = XSetExtensionErrorHandler(dmxInputExtensionErrorHandler);
|
||||||
ext = XGetExtensionVersion(display, INAME);
|
ext = XQueryInputVersion(display, XI_2_Major, XI_2_Minor);
|
||||||
XSetExtensionErrorHandler(handler);
|
XSetExtensionErrorHandler(handler);
|
||||||
|
|
||||||
if (!ext || ext == (XExtensionVersion *)NoSuchExtension) {
|
if (!ext || ext == (XExtensionVersion *)NoSuchExtension) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user