diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-04 15:23:01 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-08-05 07:59:39 +1000 |
commit | 654d7a02600bbafd890f555a081aa0a2fcb5e253 (patch) | |
tree | 69921f5ab9e64effd62e130752bab603f1b92826 | |
parent | e7c950c6273ff93f25c091c93d86da6e332a2277 (diff) |
Revert "dmx: claim we support XI 2."
XQueryInputVersion doesn't exist anymore and for now XI 1 support is good
enough.
This reverts commit 8da8a0fec4b1b9d9208635dedb2f449dc99e0004.
-rw-r--r-- | hw/dmx/input/dmxinputinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/input/dmxinputinit.c b/hw/dmx/input/dmxinputinit.c index 9c316aaba..d303607ae 100644 --- a/hw/dmx/input/dmxinputinit.c +++ b/hw/dmx/input/dmxinputinit.c @@ -845,7 +845,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) { |