summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authorrunge <runge>2005-06-04 02:17:41 +0000
committerrunge <runge>2005-06-04 02:17:41 +0000
commit89148d774ffe8f31f733683997974f50a522deb5 (patch)
treed44800ccbe2c0ac10c891de6686102ffeeab50f1 /libvncserver
parent4effb62e99925e19f2b4b14041d57574f3763f23 (diff)
downloadlibtdevnc-89148d774ffe8f31f733683997974f50a522deb5.tar.gz
libtdevnc-89148d774ffe8f31f733683997974f50a522deb5.zip
main.c: no sraRgnSubstract for copyRect, scrolls for x11vnc -scale; add -fixscreen
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/main.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/libvncserver/main.c b/libvncserver/main.c
index e4d1ea7..be67be5 100644
--- a/libvncserver/main.c
+++ b/libvncserver/main.c
@@ -148,10 +148,8 @@ void rfbScheduleCopyRegion(rfbScreenInfoPtr rfbScreen,sraRegionPtr copyRegion,in
if(!sraRgnEmpty(cursorRegion)) {
/*
* current cursor rect overlaps with the copy region *dest*,
- * so remove it from the copy-rect treatment, and mark it as
- * modified since we won't copy-rect stuff to it.
+ * mark it as modified since we won't copy-rect stuff to it.
*/
- sraRgnSubtract(cl->copyRegion, cursorRegion);
sraRgnOr(cl->modifiedRegion, cursorRegion);
}
sraRgnDestroy(cursorRegion);
@@ -163,11 +161,9 @@ void rfbScheduleCopyRegion(rfbScreenInfoPtr rfbScreen,sraRegionPtr copyRegion,in
if(!sraRgnEmpty(cursorRegion)) {
/*
* current cursor rect overlaps with the copy region *source*,
- * so remove it from the copy-rect treatment, and mark the
- * *displaced* cursorRegion as modified since we won't copyrect
- * stuff to it.
+ * mark the *displaced* cursorRegion as modified since we
+ * won't copyrect stuff to it.
*/
- sraRgnSubtract(cl->copyRegion, cursorRegion);
sraRgnOr(cl->modifiedRegion, cursorRegion);
}
sraRgnDestroy(cursorRegion);