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

Carlos Sánchez de La Lama csanchezdll at gmail.com
Wed Jan 21 01:22:05 PST 2015


Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=88614
Signed-off-by: Carlos Sánchez de La Lama <csanchezdll at gmail.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



More information about the xorg-devel mailing list