summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-12-09 20:36:41 -0800
committerKeith Packard <keithp@keithp.com>2008-12-09 20:36:41 -0800
commitba666a969e938daa2176c12c4959393789b0a98d (patch)
tree410257bb291b75e12916bf366985250513af204d
parentb268458eab2f213ec14dfe8013aa714c187e3aab (diff)
Revert "dmx: claim we support XI 2."
This reverts commit 8da8a0fec4b1b9d9208635dedb2f449dc99e0004. Signed-off-by: Keith Packard <keithp@keithp.com>
-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 a0eb80fe9..77f8ed5fc 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 = XQueryInputVersion(display, XI_2_Major, XI_2_Minor);
+ ext = XGetExtensionVersion(display, INAME);
XSetExtensionErrorHandler(handler);
if (!ext || ext == (XExtensionVersion *)NoSuchExtension) {