diff options
author | Carlos Sánchez de La Lama <csanchezdll@gmail.com> | 2015-01-21 10:22:05 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-01-23 10:01:42 -0800 |
commit | 437d2ec5f250f8ab4b44cbae56f938719802e1cc (patch) | |
tree | 3b9924faa7b095e525fd2b5692163948cfb89105 /randr | |
parent | 3d12941b408de7a3bdc579e34e119f8aa81ea926 (diff) |
randr: swap num-preferred field on RRGetOutputInfo reply
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=88614
Signed-off-by: Carlos Sánchez de La Lama <csanchezdll@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'randr')
-rw-r--r-- | randr/rroutput.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/randr/rroutput.c b/randr/rroutput.c index f824f50ed..5d46faca1 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); } |