summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authorrunge <runge>2004-12-20 04:02:23 +0000
committerrunge <runge>2004-12-20 04:02:23 +0000
commit2cc1b1d3e7c429e5e9b719ee619a3f52de005ac4 (patch)
tree3d30e4e1b216b6a5ac0d0c2f64d8f31a920b9693 /libvncserver
parentf28038b28aa1e6de498334c089791ad3d6f24328 (diff)
downloadlibtdevnc-2cc1b1d3e7c429e5e9b719ee619a3f52de005ac4.tar.gz
libtdevnc-2cc1b1d3e7c429e5e9b719ee619a3f52de005ac4.zip
x11vnc: synchronous mode for -remote, string cleanup
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvncserver/cursor.c b/libvncserver/cursor.c
index b9e8096..91dba3a 100644
--- a/libvncserver/cursor.c
+++ b/libvncserver/cursor.c
@@ -529,6 +529,7 @@ void rfbSetCursor(rfbScreenInfoPtr rfbScreen,rfbCursorPtr c,rfbBool freeOld)
free(rfbScreen->underCursorBuffer);
rfbScreen->underCursorBuffer=0;
+ rfbScreen->underCursorBufferLen=0;
if(rfbScreen->cursor && (freeOld || rfbScreen->cursor->cleanup))
rfbFreeCursor(rfbScreen->cursor);