summaryrefslogtreecommitdiffstats
path: root/cursor.c
diff options
context:
space:
mode:
authordscho <dscho>2001-09-28 10:26:25 +0000
committerdscho <dscho>2001-09-28 10:26:25 +0000
commit0ea0b7f0df5dd7504cce847146e27107e9b3ce98 (patch)
treee107ae754830915bc51e38e3aa72ce023533edac /cursor.c
parent23287dc557e086ed7dc0bcab6c7c7c88c6e3970b (diff)
downloadlibtdevnc-0ea0b7f0df5dd7504cce847146e27107e9b3ce98.tar.gz
libtdevnc-0ea0b7f0df5dd7504cce847146e27107e9b3ce98.zip
don't send a cursor update if there is no cursor
Diffstat (limited to 'cursor.c')
-rw-r--r--cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cursor.c b/cursor.c
index f34a397..d88ff7f 100644
--- a/cursor.c
+++ b/cursor.c
@@ -42,6 +42,7 @@ rfbSendCursorShape(cl)
CARD8 bitmapByte;
pCursor = cl->screen->getCursorPtr(cl);
+ if(!pCursor) return TRUE;
if (cl->useRichCursorEncoding) {
if(!pCursor->richSource)