summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-06-03 12:29:33 (GMT)
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-05 06:43:18 (GMT)
commit8da8a0fec4b1b9d9208635dedb2f449dc99e0004 (patch)
tree2a3e8ec742ccd5819860ad4f76cf8867616bd046
parent6f1d5147cb394b7c83c4c1447c78890fa2b40a45 (diff)
dmx: claim we support XI 2.
We don't really, yet, but at least we get the full device list this way.
-rw-r--r--hw/dmx/input/dmxinputinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/input/dmxinputinit.c b/hw/dmx/input/dmxinputinit.c
index 1adfb41..da1e731 100644
--- a/hw/dmx/input/dmxinputinit.c
+++ b/hw/dmx/input/dmxinputinit.c
@@ -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) {