Revision: 4229
http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4229&view=rev
Author: ossman_
Date: 2010-12-21 16:02:39 +0000 (Tue, 21 Dec 2010)
Log Message:
-----------
We might sometimes end up with an empty copy because of clipping. Make sure
we don't waste more CPU cycles on these.
Modified Paths:
--------------
trunk/unix/xserver/hw/vnc/vncHooks.cc
Modified: trunk/unix/xserver/hw/vnc/vncHooks.cc
===================================================================
--- trunk/unix/xserver/hw/vnc/vncHooks.cc 2010-12-21 16:00:18 UTC (rev
4228)
+++ trunk/unix/xserver/hw/vnc/vncHooks.cc 2010-12-21 16:02:39 UTC (rev
4229)
@@ -410,7 +410,8 @@
(*pScreen->CopyWindow) (pWin, ptOldOrg, pOldRegion);
- vncHooksScreen->desktop->add_copied(copied.reg, dx, dy);
+ if (REGION_NOTEMPTY(pScreen, copied.reg))
+ vncHooksScreen->desktop->add_copied(copied.reg, dx, dy);
SCREEN_REWRAP(CopyWindow);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months. Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits