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

Peter Hutterer peter.hutterer at who-t.net
Mon Jun 6 21:24:32 PDT 2011


On Mon, Jun 06, 2011 at 02:29:48PM +0100, Daniel Stone wrote:
> 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.

just for the archives, this line was obsoleted with version 2 of the patch
(adding the get_confine_to)

http://patchwork.freedesktop.org/patch/5810/

Cheers,
  Peter


More information about the xorg-devel mailing list