diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-07-15 13:45:19 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-07-15 13:45:19 +0000 |
commit | fba3e869e0b81ac10e78c58a768fb77136c64b3d (patch) | |
tree | ad73c3441d3f5d0b59c1b1c4f309c174cf21935b /vncviewer/CConn.cxx | |
parent | ff225100ecedbf06a79bc84c27ec90432b109938 (diff) | |
download | tigervnc-fba3e869e0b81ac10e78c58a768fb77136c64b3d.tar.gz tigervnc-fba3e869e0b81ac10e78c58a768fb77136c64b3d.zip |
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
Diffstat (limited to 'vncviewer/CConn.cxx')
-rw-r--r-- | vncviewer/CConn.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx index d764ebc2..6f6a21a7 100644 --- a/vncviewer/CConn.cxx +++ b/vncviewer/CConn.cxx @@ -64,7 +64,7 @@ CConn::CConn(const char* vncServerName) currentEncoding(encodingTight), lastServerEncoding((unsigned int)-1), formatChange(false), encodingChange(false), firstUpdate(true), pendingUpdate(false), - forceNonincremental(false) + forceNonincremental(true) { setShared(::shared); @@ -526,9 +526,6 @@ void CConn::requestNewUpdate() checkEncodings(); - if (firstUpdate) - forceNonincremental = true; - writer()->writeFramebufferUpdateRequest(Rect(0, 0, cp.width, cp.height), !forceNonincremental); |