]> source.dussan.org Git - tigervnc.git/commitdiff
Flushing screen updates after 100 ms turned out to be too aggressive and
authorPierre Ossman <ossman@cendio.se>
Mon, 13 Jun 2011 15:08:35 +0000 (15:08 +0000)
committerPierre Ossman <ossman@cendio.se>
Mon, 13 Jun 2011 15:08:35 +0000 (15:08 +0000)
just gave an annoying window blinds effect that made things difficult to
read. Reduce things to 500 ms, which should be sufficient to tell that the
session isn't completely frozen.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4495 3789f03b-4d11-0410-bbf8-ca57d06f2519

vncviewer/Viewport.h

index 19b95a3047a8b9116d9f563f7d62405e8ab9bb30..0b3a6c73a6ba3b855678684e0b4e45f3a10f6980 100644 (file)
@@ -103,7 +103,7 @@ private:
   void damageRect(const rfb::Rect& r) {
     damage.assign_union(rfb::Region(r));
     if (!Fl::has_timeout(handleUpdateTimeout, this))
-      Fl::add_timeout(0.100, handleUpdateTimeout, this);
+      Fl::add_timeout(0.500, handleUpdateTimeout, this);
   };
 
   static void handleUpdateTimeout(void *data);