summaryrefslogtreecommitdiff
path: root/hw/dmx
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-06-03 21:59:33 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-06-05 16:13:18 +0930
commit8da8a0fec4b1b9d9208635dedb2f449dc99e0004 (patch)
tree2a3e8ec742ccd5819860ad4f76cf8867616bd046 /hw/dmx
parent6f1d5147cb394b7c83c4c1447c78890fa2b40a45 (diff)
dmx: claim we support XI 2.
We don't really, yet, but at least we get the full device list this way.
Diffstat (limited to 'hw/dmx')
-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 1adfb41cd..da1e73197 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) {