[PATCH xserver] xfree86: if ATTR_KEYBOARD is set, match for keyboards

Adam Jackson ajax at nwnk.net
Mon Jul 18 20:42:46 UTC 2016


On Mon, 2016-06-27 at 10:17 +1000, Peter Hutterer wrote:
> ATTR_KEY maps to ID_INPUT_KEY which is set for any device with keys.
> ID_INPUT_KEYBOARD and thus ATTR_KEYBOARD is set for devices that are actual
> keyboards (and have a set of expected keys).
> 
> Hand-written match rules may only apply ID_INPUT_KEYBOARD, so make sure we
> match on that too.
> 
> Arguably we should've been matching on ATTR_KEYBOARD only all along but
> changing that likely introduces regressions.
> 
> Reported-by: Marty Plummer <netz.kernel at gmail.com>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

remote: I: patch #95248 updated using rev 7f2d690725292e7b5a44c813c9456da426256873.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   4b311d2..7f2d690  master -> master

- ajax


More information about the xorg-devel mailing list