summaryrefslogtreecommitdiffstats
path: root/x11vnc.c
diff options
context:
space:
mode:
authordscho <dscho>2001-11-20 12:30:51 +0000
committerdscho <dscho>2001-11-20 12:30:51 +0000
commit305133faccbb96b5a3bf8da94b23ee5a024f0a39 (patch)
treedc7e85cd36e80c96c7ae392f41d61c5aea0ed05c /x11vnc.c
parent99d964e0489c769f46c07bdc5f52f02303325b00 (diff)
downloadlibtdevnc-305133faccbb96b5a3bf8da94b23ee5a024f0a39.tar.gz
libtdevnc-305133faccbb96b5a3bf8da94b23ee5a024f0a39.zip
shm works again
Diffstat (limited to 'x11vnc.c')
-rw-r--r--x11vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc.c b/x11vnc.c
index 3a423b0..bfb6870 100644
--- a/x11vnc.c
+++ b/x11vnc.c
@@ -244,7 +244,7 @@ int main(int argc,char** argv)
} else if(screen->rfbClientHead && c++>updateCounter) {
c=0;
//fprintf(stderr,"*");
- //if(!useSHM)
+ if(!useSHM)
framebufferImage->f.destroy_image(framebufferImage);
getImage(screen->rfbServerFormat.bitsPerPixel,dpy,xscreen,&framebufferImage);
checkForImageUpdates(screen,framebufferImage->data);