]> source.dussan.org Git - tigervnc.git/commitdiff
[Bugfix] When pixel comparison to reduce unnecessary updates was performed,
authorConstantin Kaplinsky <const@tightvnc.com>
Thu, 21 Aug 2008 05:22:04 +0000 (05:22 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Thu, 21 Aug 2008 05:22:04 +0000 (05:22 +0000)
its results were not saved, unnecessary updates were sent to clients.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2695 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/VNCServerST.cxx

index 6d21c7b2393620a5ea90d167531e382a5c4dd508..06921e71a33211c4e2264936e2a4ee038b334d6a 100644 (file)
@@ -484,8 +484,10 @@ void VNCServerST::checkUpdate()
 
   pb->grabRegion(toCheck);
 
-  if (rfb::Server::compareFB)
+  if (rfb::Server::compareFB) {
     comparer->compare();
+    comparer->getUpdateInfo(&ui, pb->getRect());
+  }
 
   if (renderCursor) {
     pb->getImage(renderedCursor.data,