summaryrefslogtreecommitdiff
path: root/recordmydesktop/src
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop/src')
-rw-r--r--recordmydesktop/src/rmd_getzpixmap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/recordmydesktop/src/rmd_getzpixmap.c b/recordmydesktop/src/rmd_getzpixmap.c
index 27a41d2..43465c8 100644
--- a/recordmydesktop/src/rmd_getzpixmap.c
+++ b/recordmydesktop/src/rmd_getzpixmap.c
@@ -86,7 +86,6 @@ int rmdGetZPixmapSHM( Display *dpy,
xShmGetImageReply reply;
xShmGetImageReq *request = NULL;
- long nbytes;
LockDisplay(dpy);
GetReq(ShmGetImage, request);
@@ -111,8 +110,6 @@ int rmdGetZPixmapSHM( Display *dpy,
return 1;
}
- nbytes = (long)reply.length << 2;
- _XReadPad(dpy, data, nbytes);
UnlockDisplay(dpy);
SyncHandle();
© All Rights Reserved