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
diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx
index 466d6d5..deec186 100644
--- a/common/rfb/VNCSConnectionST.cxx
+++ b/common/rfb/VNCSConnectionST.cxx
@@ -345,8 +345,10 @@
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