diff options
author | dscho <dscho> | 2001-10-03 17:09:55 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-10-03 17:09:55 +0000 |
commit | b3f2c7d08178aa45c5687cac338d65db5d92d01c (patch) | |
tree | 9dffbb6c40f8ebabc8386a98a35128295af6c076 /rfbserver.c | |
parent | 05c8f2d4840e8e4d0166b176b8c88bfdfffcce91 (diff) | |
download | libtdevnc-b3f2c7d08178aa45c5687cac338d65db5d92d01c.tar.gz libtdevnc-b3f2c7d08178aa45c5687cac338d65db5d92d01c.zip |
java viewer bug fixed
Diffstat (limited to 'rfbserver.c')
-rw-r--r-- | rfbserver.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rfbserver.c b/rfbserver.c index f43ceac..ef7eced 100644 --- a/rfbserver.c +++ b/rfbserver.c @@ -849,6 +849,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion) Bool sendCursorShape = FALSE; Bool cursorWasDrawn = FALSE; + /* * If this client understands cursor shape updates, cursor should be * removed from the framebuffer. Otherwise, make sure it's put up. @@ -860,8 +861,9 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion) if (cl->screen->cursorIsDrawn) { rfbUndrawCursor(cl); } - if (!cl->screen->cursorIsDrawn && cl->cursorWasChanged) - sendCursorShape = TRUE; + if (!cl->screen->cursorIsDrawn && cl->cursorWasChanged && + cl->readyForSetColourMapEntries) + sendCursorShape = TRUE; } else { if (!cl->screen->cursorIsDrawn) { rfbDrawCursor(cl); |