[PATCH] Don't release passive grabs unless all buttons are up

Keith Packard keithp at keithp.com
Mon Jan 5 17:30:11 PST 2009


On Tue, 2009-01-06 at 09:12 +1000, Peter Hutterer wrote:

> If core allows for 255 buttons, this means that buttons > 5 (or > 8) may be
> down even if the state field is zero. Is this correct?
> If this is intended, then Thomas' patch is indeed a lot simpler.

Yes, only the first five buttons are recorded in the event state.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20090105/42039ebf/attachment.pgp>


More information about the xorg mailing list