On Thu, Jun 07, 2018 at 03:31:42AM +0200, Roman Kapl wrote:
> This has caused nonsensical values in xinput output.
>
> Signed-off-by: Roman Kapl
> ---
> Xi/xiquerydevice.c | 3 +++
> 1 file changed, 3 insertions(+)
pushed, thanks
remote: Updating patchwork state for
https://patchwork.freedesktop.org/project/Xorg/list/
remote: E: failed to find patch for rev
cefbc6a9356e5c6cf935b61557efa897762defae.
remote: I: patch #228063 updated using rev
40586cc4f8faa271d62fd84fe98c41debb878984.
remote: I: 1 patch(es) updated to state Accepted.
To git+ssh://git.freedesktop.org/git/xorg/xserver
9b8999411..40586cc4f master -> master
Cheers,
Peter
>
> diff --git a/Xi/xiquerydevice.c b/Xi/xiquerydevice.c
> index 5f5a5f82f..fbb51fe81 100644
> --- a/Xi/xiquerydevice.c
> +++ b/Xi/xiquerydevice.c
> @@ -383,6 +383,9 @@ SwapValuatorInfo(DeviceIntPtr dev, xXIValuatorInfo * info)
> swapl(&info->min.frac);
> swapl(&info->max.integral);
> swapl(&info->max.frac);
> +swapl(&info->value.integral);
> +swapl(&info->value.frac);
> +swapl(&info->resolution);
> swaps(&info->number);
> swaps(&info->sourceid);
> }
> --
> 2.17.1
>
> ___
> xorg-devel@lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel
>
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel