[PATCH] Xi: fix XITouchClass sourceid assignment
Chase Douglas
chase.douglas at canonical.com
Tue Apr 10 17:14:29 PDT 2012
On 04/10/2012 04:43 PM, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> Xi/xiquerydevice.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Xi/xiquerydevice.c b/Xi/xiquerydevice.c
> index 749bc24..15c8b2a 100644
> --- a/Xi/xiquerydevice.c
> +++ b/Xi/xiquerydevice.c
> @@ -430,7 +430,7 @@ ListTouchInfo(DeviceIntPtr dev, xXITouchInfo * touch)
> {
> touch->type = XITouchClass;
> touch->length = sizeof(xXITouchInfo) >> 2;
> - touch->sourceid = touch->sourceid;
> + touch->sourceid = dev->touch->sourceid;
> touch->mode = dev->touch->mode;
> touch->num_touches = dev->touch->num_touches;
Oops... looks right to me.
Reviewed-by: Chase Douglas <chase.douglas at canonical.com>
More information about the xorg-devel
mailing list