Browse Source

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
tags/v1.1.90
Pierre Ossman 12 years ago
parent
commit
6b0bc295ba
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      common/rfb/VNCSConnectionST.cxx

+ 3
- 1
common/rfb/VNCSConnectionST.cxx View File

@@ -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

Loading…
Cancel
Save