aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/1259_nx-X11_Make-RANDR-_set_-timestamps-follow-clien.full.patch
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-12-15 12:55:17 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-15 12:55:17 +0100
commit1dad092caf01d733990648e6df64cbf964df5143 (patch)
tree39de0e643e76754a3e23ca9dd0350b8ba4f76250 /debian/patches/1259_nx-X11_Make-RANDR-_set_-timestamps-follow-clien.full.patch
parent6d70b9e3c47f27a166f4aacb522c5c1e49092dd9 (diff)
parent2b9025f797ee322e21077e100c2ee27c2e7fa0e0 (diff)
downloadnx-libs-1dad092caf01d733990648e6df64cbf964df5143.tar.gz
nx-libs-1dad092caf01d733990648e6df64cbf964df5143.tar.bz2
nx-libs-1dad092caf01d733990648e6df64cbf964df5143.zip
Merge branch '3.6.x'
Diffstat (limited to 'debian/patches/1259_nx-X11_Make-RANDR-_set_-timestamps-follow-clien.full.patch')
-rw-r--r--debian/patches/1259_nx-X11_Make-RANDR-_set_-timestamps-follow-clien.full.patch62
1 files changed, 0 insertions, 62 deletions
diff --git a/debian/patches/1259_nx-X11_Make-RANDR-_set_-timestamps-follow-clien.full.patch b/debian/patches/1259_nx-X11_Make-RANDR-_set_-timestamps-follow-clien.full.patch
deleted file mode 100644
index a17d29335..000000000
--- a/debian/patches/1259_nx-X11_Make-RANDR-_set_-timestamps-follow-clien.full.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-commit cf660f485eb478bcb7aaef3a538f2791e46662d9
-Author: Keith Packard <keithp@keithp.com>
-Date: Thu May 28 14:43:27 2009 -0700
-
- Backport: Make RANDR 'set' timestamps follow client specified time. Bug 21987.
-
- The lastSetTime value which indicates when the configuration within the
- server was last changed was not getting set in the appropriate RandR
- requests.
-
- Signed-off-by: Keith Packard <keithp@keithp.com>
-
- 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)
-
---- a/nx-X11/programs/Xserver/randr/rrcrtc.c
-+++ b/nx-X11/programs/Xserver/randr/rrcrtc.c
-@@ -838,10 +838,8 @@ ProcRRSetCrtcConfig (ClientPtr client)
- rep.status = RRSetConfigFailed;
- goto sendReply;
- }
-- #ifdef NXAGENT_SERVER /* Bug 21987 */
-- pScrPriv->lastSetTime = time;
-- #endif
- rep.status = RRSetConfigSuccess;
-+ pScrPriv->lastSetTime = time;
-
- sendReply:
- if (outputs)
-@@ -851,11 +849,7 @@ sendReply:
- /* rep.status has already been filled in */
- rep.length = 0;
- rep.sequenceNumber = client->sequence;
-- #ifndef NXAGENT_SERVER /* Bug 21987 */
-- rep.newTimestamp = pScrPriv->lastConfigTime.milliseconds;
-- #else
- rep.newTimestamp = pScrPriv->lastSetTime.milliseconds;
-- #endif
-
- if (client->swapped)
- {
---- a/nx-X11/programs/Xserver/randr/rrscreen.c
-+++ b/nx-X11/programs/Xserver/randr/rrscreen.c
-@@ -977,15 +977,10 @@ ProcRRSetScreenConfig (ClientPtr client)
-
- if (!RRCrtcSet (crtc, mode, 0, 0, stuff->rotation, 1, &output))
- rep.status = RRSetConfigFailed;
-- #ifndef NXAGENT_SERVER /* Bug 21987 */
-- else
-- rep.status = RRSetConfigSuccess;
-- #else
- else {
-- rep.status = RRSetConfigSuccess;
- pScrPriv->lastSetTime = time;
-+ rep.status = RRSetConfigSuccess;
- }
-- #endif
-
- /*
- * XXX Configure other crtcs to mirror as much as possible