[PATCH xserver 02/12] Added processing of XI grabs with confine.

Daniel Stone daniel at fooishbar.org
Mon Jun 6 06:29:48 PDT 2011


Hi,

On Thu, Jun 02, 2011 at 05:13:36PM +1000, Peter Hutterer wrote:
> +    if(HasConfineTo(client) == TRUE)
> +        memcpy((unsigned char *)&confine_to, (char*)&stuff[1] + stuff->mask_len * 4, 4);

The first cast here is unnecessary.

Cheers,
Daniel


More information about the xorg-devel mailing list