summaryrefslogtreecommitdiff
path: root/dix/selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/selection.c')
-rw-r--r--dix/selection.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dix/selection.c b/dix/selection.c
index 4e994b1ec..d46103f70 100644
--- a/dix/selection.c
+++ b/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));