[PATCH RESEND 2/2] xkb: use GetMaster instead of dev->u.master.

Keith Packard keithp at keithp.com
Mon Jul 19 21:49:05 PDT 2010


On Tue, 20 Jul 2010 13:30:04 +1000, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> Devices that are both pointers and keyboards are not affected by keyboard
> changes as their master device is a master pointer, not a master keyboard.
> Use GetMaster() instead to ensure devices that are attached to the paired
> master pointer device will still be update.

Yeah, this seems obvious enough to me. I did not audit this to ensure
that all cases were covered; it seems like the Xkb code could be
refactored (someday) so that this duplication of code might be
eliminated though...

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100719/5443304b/attachment.pgp>


More information about the xorg-devel mailing list