On Mon, 2009-01-05 at 16:07 +1000, Peter Hutterer wrote:

> Following up on that:
> Both the core protocol and the XI protocol spec state that a passive grab is
> to be released when all buttons are logically up, regardless of modifiers.
> This is where the magic number 5 comes in. Core allows for 5 buttons, XI
> allows for more.

That's a common misunderstanding -- the core protocol allows for up to
255 buttons, and the documentation for GrabButton is fairly clear about
waiting until *all* buttons are released, not just the five visible in
the mask.

I think this makes the solution fairly easy, right?

-- 
keith.pack...@intel.com

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to