Peter Hutterer <[email protected]> writes:

> GrabMask is a union of core, XI1 and XI2 masks. If a XI2 grab is activated,
> the value is a random pointer value, using it as mask has unpredictable
> effects.

The comment is a bit misleading -- GrabMask is a union of core and XI1 masks
and a *pointer* to XI2 masks.

I'm assuming there's nothing in any of the XI2 masks which you want to
stuff in grab->eventMask, right?

In any case, 0 is better than garbage.

Reviewed-by: Keith Packard <[email protected]>

-- 
[email protected]

Attachment: pgp4SieeHJbQx.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to