summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordscho <dscho>2005-04-27 18:11:22 +0000
committerdscho <dscho>2005-04-27 18:11:22 +0000
commit6602a22f2b3e1164bf521868063891ef62b3650f (patch)
tree4412679840a0b246ccff3ca55c9318dd503b2e1d
parent014e911f6bece702bb0d05f6e5cddb7298862549 (diff)
downloadlibvncserver-6602a22f2b3e1164bf521868063891ef62b3650f.zip
libvncserver-6602a22f2b3e1164bf521868063891ef62b3650f.tar.gz
clear requested region after handling it
-rw-r--r--ChangeLog3
-rw-r--r--libvncserver/rfbserver.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1cc8dfd..fed5a68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2005-04-27 Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
+ * clear requested region (long standing TODO, pointed out by Karl)
+
2005-04-19 Karl Runge <runge@karlrunge.com>
* x11vnc: -wireframe, -wirecopyrect. Back to the 90's with
wireframes to avoid window move/resize lurching.
diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c
index f4bc42b..e218fea 100644
--- a/libvncserver/rfbserver.c
+++ b/libvncserver/rfbserver.c
@@ -1208,7 +1208,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
sraRgnSubtract(cl->modifiedRegion,updateRegion);
sraRgnSubtract(cl->modifiedRegion,updateCopyRegion);
- /* TODO: is this sensible? sraRgnMakeEmpty(cl->requestedRegion); */
+ sraRgnMakeEmpty(cl->requestedRegion);
sraRgnMakeEmpty(cl->copyRegion);
cl->copyDX = 0;
cl->copyDY = 0;
OpenPOWER on IntegriCloud