Files
xserver/Xi
Peter Hutterer fe8d122b13 Xi: reshuffle conditions for labeling a device as IsXExtensionKeyboard (#29046)
From the original bug reporter Ezra Reeves:

"I did some more digging on this today, and I found that an HP branded
wireless USB mouse has the same issue. With this mouse (as well as the
logitech wireless mouse), the return from:

xdev = XListInputDevices(GDK_WINDOW_XDISPLAY(rootwin), &ndevices_return);

lists the USB device twice, but both have xdev[num].use == 3
(IsXExtensionKeyboard as defined in X11/XI.h).

[...]

Swapping the order of the test in Xi/listdev.c that determines whether a
device is a pointer or a keyboard properly detects my devices (OEM USB
wireless mouse/kb combo) -- one as a keyboard and one as a pointer."

X.Org Bug 29046 <http://bugs.freedesktop.org/show_bug.cgi?id=29046>

Reported-by: Erik Kilfoil <ekilfoil@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-10-29 08:28:57 +10:00
..
2007-03-25 21:18:39 -04:00
2007-03-25 21:18:39 -04:00
2007-03-25 21:18:39 -04:00
2007-03-25 21:18:39 -04:00
2007-03-25 21:18:39 -04:00
2009-07-30 08:43:14 +10:00
2009-06-17 09:05:22 +10:00
2009-09-03 08:39:27 +10:00
2009-06-17 09:05:22 +10:00
2009-06-17 09:05:22 +10:00
2009-09-03 08:39:27 +10:00
2009-09-03 08:39:27 +10:00
2009-06-17 09:05:22 +10:00
2009-06-17 09:05:22 +10:00
2009-06-17 09:05:22 +10:00
2009-09-03 08:39:27 +10:00
2009-06-17 09:05:22 +10:00
2009-09-03 08:39:27 +10:00
2009-06-17 09:05:22 +10:00