]> source.dussan.org Git - tigervnc.git/commitdiff
PollPointer setting now defaults to false. Printing the number of changed tiles in...
authorConstantin Kaplinsky <const@tightvnc.com>
Tue, 24 Jul 2007 08:35:43 +0000 (08:35 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Tue, 24 Jul 2007 08:35:43 +0000 (08:35 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2319 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/x0vncserver/PollingManager.cxx

index a823ed4274ef18be57ea4a2bb0f313c25dc79772..f2ea58712711c8b0330cd3c17c9f47b39ceff1a8 100644 (file)
@@ -39,7 +39,7 @@ static LogWriter vlog("PollingMgr");
 BoolParameter PollingManager::pollPointer
 ("PollPointer",
  "DEBUG: Poll area under the pointer with higher priority",
true);
false);
 
 IntParameter PollingManager::pollingType
 ("PollingType",
@@ -296,6 +296,12 @@ bool PollingManager::poll_DetectVideo()
   if (grandStep)
     adjustVideoArea();
 
+#ifdef DEBUG
+  if (nTilesChanged != 0) {
+    fprintf(stderr, "#%d# ", nTilesChanged);
+  }
+#endif
+
   return (nTilesChanged != 0);
 }