diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/virtual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtual.c b/tools/virtual.c index 8803feab..d35e5852 100644 --- a/tools/virtual.c +++ b/tools/virtual.c @@ -934,7 +934,7 @@ static int clone_init_xfer(struct clone *clone) } if (clone->dst.use_shm) { clone->dst.shm = clone->shm; - clone->dst.shm.readOnly = True; + clone->dst.shm.readOnly = !clone->dst.use_shm_pixmap; XShmAttach(clone->dst.dpy, &clone->dst.shm); XSync(clone->dst.dpy, False); } |