summaryrefslogtreecommitdiffstats
path: root/rfbserver.c
diff options
context:
space:
mode:
authordscho <dscho>2001-09-24 22:02:28 +0000
committerdscho <dscho>2001-09-24 22:02:28 +0000
commit5c438e3fb2d98f6aa36b58610ed9d871a41cf6f1 (patch)
tree32384646ca0bfcd2240ef1152fb605934b17da56 /rfbserver.c
parentfa85c12aa9f552aeafca4099467439d4cf434b79 (diff)
downloadlibtdevnc-5c438e3fb2d98f6aa36b58610ed9d871a41cf6f1.tar.gz
libtdevnc-5c438e3fb2d98f6aa36b58610ed9d871a41cf6f1.zip
bugfix: cursor (works now without xcursor encoding)
Diffstat (limited to 'rfbserver.c')
-rw-r--r--rfbserver.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/rfbserver.c b/rfbserver.c
index e97c7d8..3794f0a 100644
--- a/rfbserver.c
+++ b/rfbserver.c
@@ -35,6 +35,7 @@
#include <pthread.h>
#endif
#include "rfb.h"
+#include "region.h"
rfbClientPtr pointerClient = NULL; /* Mutex for pointer events */
@@ -845,8 +846,8 @@ rfbSendFramebufferUpdate(cl, updateRegion)
sendCursorShape = TRUE;
} else {
if (!cl->screen->cursorIsDrawn)
- //rfbDrawCursor(cl);
- fprintf(stderr,"rfbSpriteRestoreCursor(pScreen); not yet!\n");
+ rfbDrawCursor(cl);
+ //fprintf(stderr,"rfbSpriteRestoreCursor(pScreen); not yet!\n");
}
/*
@@ -865,9 +866,9 @@ rfbSendFramebufferUpdate(cl, updateRegion)
* no update is needed.
*/
- //REGION_INIT(pScreen,&updateRegion,NullBox,0);
- //REGION_UNION(pScreen, &updateRegion, &cl->copyRegion,
- // &cl->modifiedRegion);
+ REGION_INIT(pScreen,&updateRegion,NullBox,0);
+ REGION_UNION(pScreen, &updateRegion, &cl->copyRegion,
+ &cl->modifiedRegion);
REGION_INTERSECT(pScreen, &updateRegion, &cl->requestedRegion,
&updateRegion);