Browse Source

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
tags/v1.1.90
Pierre Ossman 13 years ago
parent
commit
db7091c0f4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      vncviewer/Viewport.h

+ 1
- 1
vncviewer/Viewport.h View File

void damageRect(const rfb::Rect& r) { void damageRect(const rfb::Rect& r) {
damage.assign_union(rfb::Region(r)); damage.assign_union(rfb::Region(r));
if (!Fl::has_timeout(handleUpdateTimeout, this)) 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); static void handleUpdateTimeout(void *data);

Loading…
Cancel
Save