From cddeb0d9d261d0a7f6e987c69d6123f5aedeebbe Mon Sep 17 00:00:00 2001 From: dscho Date: Fri, 14 Dec 2001 15:36:23 +0000 Subject: *argc=0 in cargs allowed, when copying area, first undraw cursor ... --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') 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)) { -- cgit v1.2.1