intel-virtual-output: Mark the source SHMPixmap as writeable

This is fortunately a no-op, as it gets initialized to zero already
(that is the pixmap is writeable). However, we may as well do the right
thing...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2014-05-15 21:50:41 +01:00
parent b21fc65b23
commit 10c18b1a46

View File

@@ -967,7 +967,7 @@ static int clone_init_xfer(struct clone *clone)
if (clone->src.use_shm) {
clone->src.shm = clone->shm;
clone->dst.shm.readOnly = False;
clone->src.shm.readOnly = False;
XShmAttach(clone->src.dpy, &clone->src.shm);
XSync(clone->src.dpy, False);
}