Revision: 4596
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4596&view=rev
Author:   ossman_
Date:     2011-07-15 13:45:19 +0000 (Fri, 15 Jul 2011)

Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/vncviewer/CConn.cxx

Modified: trunk/vncviewer/CConn.cxx
===================================================================
--- trunk/vncviewer/CConn.cxx   2011-07-15 13:42:11 UTC (rev 4595)
+++ trunk/vncviewer/CConn.cxx   2011-07-15 13:45:19 UTC (rev 4596)
@@ -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);
  


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to