diff options
Diffstat (limited to 'libvncserver/cursor.c')
-rw-r--r-- | libvncserver/cursor.c | 1 |
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); |