IsXExtensionPointer/Keyboard were introduced with XI 1.4, check for those too before claiming there aren't any devices.
Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- xts5/src/lib/XInput.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/xts5/src/lib/XInput.c b/xts5/src/lib/XInput.c index 067fca0..d0abab8 100644 --- a/xts5/src/lib/XInput.c +++ b/xts5/src/lib/XInput.c @@ -190,7 +190,9 @@ Setup_Extension_DeviceInfo(dmask) SavID = list->id; if (list->use == IsXPointer) SavPID = list->id; - if (list->use != IsXExtensionDevice) + if (list->use != IsXExtensionDevice && + list->use != IsXExtensionPointer && + list->use != IsXExtensionKeyboard) continue; dev = XOpenDevice (dpy2, list->id); nokeys = True; -- 1.7.7.4 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel