[PATCH] Don't alter device button maps in DoSetPointerMapping

Thomas Jaeger thjaeger at gmail.com
Sun Jan 4 08:31:47 PST 2009


I think the current behavior violates the core spec: If, say, button 1
is pressed on a device where it is currently disabled, but it is mapped
to itself on the VCP, then an XSetPointerMapping request that doesn't
change the mapping of button 1 will nonetheless fail.

Thomas Jaeger wrote:
> The wrong checks are being performed which can lead to XInput grabs
> failing to work.  I'd argue, though, that remapping device buttons is
> wrong anyway, see my next email.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-alter-device-button-maps-in-DoSetPointerMappin.patch
Type: text/x-patch
Size: 2794 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090104/c935d34c/attachment.bin>


More information about the xorg mailing list