From: Pierre Ossman Date: Mon, 13 Jun 2011 15:08:35 +0000 (+0000) Subject: Flushing screen updates after 100 ms turned out to be too aggressive and X-Git-Tag: v1.1.90~287 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=db7091c0f48c5b6a4adaf1701a3a9dcf4b32daa1;p=tigervnc.git 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 19b95a30..0b3a6c73 100644 --- a/vncviewer/Viewport.h +++ b/vncviewer/Viewport.h @@ -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);