]> source.dussan.org Git - tigervnc.git/commitdiff
When we stopped doing full updates on format changes, we also lost the side
authorPierre Ossman <ossman@cendio.se>
Fri, 15 Jul 2011 13:42:11 +0000 (13:42 +0000)
committerPierre Ossman <ossman@cendio.se>
Fri, 15 Jul 2011 13:42:11 +0000 (13:42 +0000)
effect of having the first update being a full update. This is needed for
correct behaviour for some extensions.

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

vncviewer/CConn.cxx

index 9ef182392c283ecfb83249d398ace84f6569e673..d764ebc2e99e1293ff94be1a8e9aa3b53e9afcf7 100644 (file)
@@ -526,6 +526,9 @@ void CConn::requestNewUpdate()
 
   checkEncodings();
 
+  if (firstUpdate)
+    forceNonincremental = true;
+
   writer()->writeFramebufferUpdateRequest(Rect(0, 0, cp.width, cp.height),
                                           !forceNonincremental);