summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-06-23 15:29:37 +0200
committerPierre Ossman <ossman@cendio.se>2015-06-23 15:29:37 +0200
commit3c56d4f3c7fc2d706acd114d1abb04e9a338dbea (patch)
tree4338b50a381cc40afb8218237422c06e3b1f8f49 /common
parent8d6e356f7de587f70e9ba6a7c818e72c2497caf9 (diff)
downloadtigervnc-3c56d4f3c7fc2d706acd114d1abb04e9a338dbea.tar.gz
tigervnc-3c56d4f3c7fc2d706acd114d1abb04e9a338dbea.zip
Fix infinite update caused by b64dbf2
The bug fix in b64dbf2 didn't account for the proper request region in the case of continuous updates. Make sure we use the proper variable for which region we've sent updates for.
Diffstat (limited to 'common')
-rw-r--r--common/rfb/VNCSConnectionST.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx
index c63e6b62..49975cbf 100644
--- a/common/rfb/VNCSConnectionST.cxx
+++ b/common/rfb/VNCSConnectionST.cxx
@@ -1058,7 +1058,7 @@ void VNCSConnectionST::writeFramebufferUpdate()
// The request might be for just part of the screen, so we cannot
// just clear the entire update tracker.
- updates.subtract(requested);
+ updates.subtract(req);
requested.clear();
}