[PATCH 11/42] Hook up the ownership events

Daniel Stone daniel at fooishbar.org
Sun Dec 18 05:11:20 PST 2011


Hi,

On Thu, Dec 15, 2011 at 01:01:48PM +1000, Peter Hutterer wrote:
> +static void STouchOwnershipEvent(xXITouchOwnershipEvent *from,
> +                                 xXITouchOwnershipEvent *to)
> +{
> +    *to = *from;
> +    swaps(&to->sequenceNumber);
> +    swapl(&to->length);
> +    swaps(&to->evtype);
> +    swaps(&to->deviceid);
> +    swapl(&to->time);
> +    swaps(&to->sourceid);
> +    swapl(&to->touchid);

You forgot:
       swapl(&to->root);
       swapl(&to->event);
       swapl(&to->child);

Cheers,
Daniel


More information about the xorg-devel mailing list