aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-09-22 16:48:14 +0200
committerPierre Ossman <ossman@cendio.se>2017-09-22 16:48:14 +0200
commitb1e80f7b025db4086e60f0867dce425838c171f3 (patch)
tree202c429499831988658280ed825b5d047b4623ec /common
parentb000ff13275cd9df34494553ba49746a85e63072 (diff)
downloadtigervnc-b1e80f7b025db4086e60f0867dce425838c171f3.tar.gz
tigervnc-b1e80f7b025db4086e60f0867dce425838c171f3.zip
Make sure to start the frame timer after a buffer change
The buffer is considered changed right away, so we might not get any add_changed() calls to trigger a start of the timer.
Diffstat (limited to 'common')
-rw-r--r--common/rfb/VNCServerST.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/rfb/VNCServerST.cxx b/common/rfb/VNCServerST.cxx
index 43e8f3ed..46c4be9b 100644
--- a/common/rfb/VNCServerST.cxx
+++ b/common/rfb/VNCServerST.cxx
@@ -320,6 +320,7 @@ void VNCServerST::setPixelBuffer(PixelBuffer* pb_, const ScreenSet& layout)
comparer = new ComparingUpdateTracker(pb);
renderedCursorInvalid = true;
+ startFrameClock();
// Make sure that we have at least one screen
if (screenLayout.num_screens() == 0)