Revision: 4824
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4824&view=rev
Author:   ossman_
Date:     2011-12-21 13:17:54 +0000 (Wed, 21 Dec 2011)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/common/rfb/VNCSConnectionST.cxx

Modified: trunk/common/rfb/VNCSConnectionST.cxx
===================================================================
--- trunk/common/rfb/VNCSConnectionST.cxx       2011-12-08 02:16:53 UTC (rev 
4823)
+++ trunk/common/rfb/VNCSConnectionST.cxx       2011-12-21 13:17:54 UTC (rev 
4824)
@@ -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

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


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to