aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/1256_nx-X11_ProcRRGetScreenInfo-swap-configTimestamp.full.patch
blob: c00b78a3f9ad5744cb3a4863cc165f110b2b164e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
commit bd5754f94a9b48c246d115eaed0d0e8bece95aca
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jul 9 19:12:42 2012 -0700

    Backport: ProcRRGetScreenInfo: swap configTimestamp as well

    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Keith Packard <keithp@keithp.com>
    Tested-by: Daniel Stone <daniel@fooishbar.org>

    Backported from Arctica GH 3.6.x branch.

    v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
    v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)

diff --git a/nx-X11/programs/Xserver/randr/rrscreen.c b/nx-X11/programs/Xserver/randr/rrscreen.c
index 20eed11..011b97f 100644
--- a/nx-X11/programs/Xserver/randr/rrscreen.c
+++ b/nx-X11/programs/Xserver/randr/rrscreen.c
@@ -745,6 +745,7 @@ ProcRRGetScreenInfo (ClientPtr client)
 	swaps(&rep.sequenceNumber, n);
 	swapl(&rep.length, n);
 	swapl(&rep.timestamp, n);
+        swapl(&rep.configTimestamp, n);
 	swaps(&rep.rotation, n);
 	swaps(&rep.nSizes, n);
 	swaps(&rep.sizeID, n);