summaryrefslogtreecommitdiff
path: root/xserver/dix/selection.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2017-12-08 15:02:03 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2017-12-08 15:02:03 +0000
commite2e6e25be1cbd7ecc45bbd9130c4527f7715e547 (patch)
tree85e40fcfbc819cb0394346c69db478a22e9ed122 /xserver/dix/selection.c
parent63d0911c1d9f1be4f8755144bced468fcbc398a6 (diff)
Update to xserver 1.19.5.
Tested by bru@, jsg@ and others
Diffstat (limited to 'xserver/dix/selection.c')
-rw-r--r--xserver/dix/selection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xserver/dix/selection.c b/xserver/dix/selection.c
index 4e994b1ec..d46103f70 100644
--- a/xserver/dix/selection.c
+++ b/xserver/dix/selection.c
@@ -279,6 +279,9 @@ ProcConvertSelection(ClientPtr client)
return BadAtom;
}
+ if (stuff->time == CurrentTime)
+ UpdateCurrentTime();
+
rc = dixLookupSelection(&pSel, stuff->selection, client, DixReadAccess);
memset(&event, 0, sizeof(xEvent));