This was not a good method to get an initial full update as we would get two
update requests before the firstUpdate variable toggled to false.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4596 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx
index d764ebc..6f6a21a 100644
--- a/vncviewer/CConn.cxx
+++ b/vncviewer/CConn.cxx
@@ -64,7 +64,7 @@
currentEncoding(encodingTight), lastServerEncoding((unsigned int)-1),
formatChange(false), encodingChange(false),
firstUpdate(true), pendingUpdate(false),
- forceNonincremental(false)
+ forceNonincremental(true)
{
setShared(::shared);
@@ -526,9 +526,6 @@
checkEncodings();
- if (firstUpdate)
- forceNonincremental = true;
-
writer()->writeFramebufferUpdateRequest(Rect(0, 0, cp.width, cp.height),
!forceNonincremental);