summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authordscho <dscho>2001-12-14 15:36:23 +0000
committerdscho <dscho>2001-12-14 15:36:23 +0000
commitcddeb0d9d261d0a7f6e987c69d6123f5aedeebbe (patch)
tree0de44e4f089bd65dc2bc3b6b67d5e9f3030a247d /main.c
parent11651ff29301b874b792f409770360299119cc0d (diff)
downloadlibtdevnc-cddeb0d9d261d0a7f6e987c69d6123f5aedeebbe.tar.gz
libtdevnc-cddeb0d9d261d0a7f6e987c69d6123f5aedeebbe.zip
*argc=0 in cargs allowed, when copying area, first undraw cursor ...
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index f87181c..5e39ae5 100644
--- a/main.c
+++ b/main.c
@@ -143,6 +143,8 @@ void rfbDoCopyRegion(rfbScreenInfoPtr rfbScreen,sraRegionPtr copyRegion,int dx,i
rowstride=rfbScreen->paddedWidthInBytes;
char *in,*out;
+ rfbUndrawCursor(rfbScreen);
+
/* copy it, really */
i = sraRgnGetReverseIterator(copyRegion,dx<0,dy<0);
while(sraRgnIteratorNext(i,&rect)) {