Commit 0ea0b7f0 authored by dscho's avatar dscho

don't send a cursor update if there is no cursor

parent 23287dc5
...@@ -42,6 +42,7 @@ rfbSendCursorShape(cl) ...@@ -42,6 +42,7 @@ rfbSendCursorShape(cl)
CARD8 bitmapByte; CARD8 bitmapByte;
pCursor = cl->screen->getCursorPtr(cl); pCursor = cl->screen->getCursorPtr(cl);
if(!pCursor) return TRUE;
if (cl->useRichCursorEncoding) { if (cl->useRichCursorEncoding) {
if(!pCursor->richSource) if(!pCursor->richSource)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment