summaryrefslogtreecommitdiffstats
path: root/common/rfb
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-12-21 13:17:54 +0000
committerPierre Ossman <ossman@cendio.se>2011-12-21 13:17:54 +0000
commit6b0bc295ba39705785e96fa6d43d95ad94074ee4 (patch)
tree5846768a2562e9ef595ae14ef00c0678a6cf2b6a /common/rfb
parentf399910ca294e016864c845dc881281a00c5e2c7 (diff)
downloadtigervnc-6b0bc295ba39705785e96fa6d43d95ad94074ee4.tar.gz
tigervnc-6b0bc295ba39705785e96fa6d43d95ad94074ee4.zip
We need to explicitly trigger a framebuffer update for server side rendered
cursors. Previously this happened to work anyway because we had a lot of triggers for updates. After the cleanup, we need to be more explicit. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4824 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb')
-rw-r--r--common/rfb/VNCSConnectionST.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx
index 466d6d5c..deec186f 100644
--- a/common/rfb/VNCSConnectionST.cxx
+++ b/common/rfb/VNCSConnectionST.cxx
@@ -345,8 +345,10 @@ void VNCSConnectionST::renderedCursorChange()
if (state() != RFBSTATE_NORMAL) return;
if (!renderedCursorRect.is_empty())
removeRenderedCursor = true;
- if (needRenderedCursor())
+ if (needRenderedCursor()) {
drawRenderedCursor = true;
+ writeFramebufferUpdateOrClose();
+ }
}
// needRenderedCursor() returns true if this client needs the server-side