[PATCH v2 1/2] Don't clobber virtual core pointer touches array length

Chase Douglas chase.douglas at canonical.com
Tue Feb 14 16:46:43 PST 2012


On 02/15/2012 01:32 AM, Peter Hutterer wrote:
> The VCP has its own touches array, don't overwrite it when the class is
> copied from the SD to the master.
> 
> Reported-by: Chase Douglas <chase.douglas at canonical.com>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> Changes to v1:
> - copy fields one-by-one instead of a memcpy and then writing back the ones
>   that shouldn't change
> 
> This patch doesn't include a test yet, mainly because I want to clean up
> this code anyway and then write the test against the new version

Looks good to me.

Reviewed-by: Chase Douglas <chase.douglas at canonical.com>


More information about the xorg-devel mailing list