Flushing screen updates after 100 ms turned out to be too aggressive and
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
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h
index 19b95a3..0b3a6c7 100644
--- a/vncviewer/Viewport.h
+++ b/vncviewer/Viewport.h
@@ -103,7 +103,7 @@
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);