[PATCH] randr: swap num-preferred field on RRGetOutputInfo reply

Dave Airlie airlied at gmail.com
Wed Jan 21 03:29:10 PST 2015


On 21 January 2015 at 19:22, Carlos Sánchez de La Lama
<csanchezdll at gmail.com> wrote:
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=88614
> Signed-off-by: Carlos Sánchez de La Lama <csanchezdll at gmail.com>

Reviewed-by: Dave Airlie <airlied at redhat.com>
> ---
>  randr/rroutput.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/randr/rroutput.c b/randr/rroutput.c
> index f824f50..5d46fac 100644
> --- a/randr/rroutput.c
> +++ b/randr/rroutput.c
> @@ -487,6 +487,7 @@ ProcRRGetOutputInfo(ClientPtr client)
>          swapl(&rep.mmHeight);
>          swaps(&rep.nCrtcs);
>          swaps(&rep.nModes);
> +        swaps(&rep.nPreferred);
>          swaps(&rep.nClones);
>          swaps(&rep.nameLength);
>      }
> --
> 1.7.3.4
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list