From b1e80f7b025db4086e60f0867dce425838c171f3 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 22 Sep 2017 16:48:14 +0200 Subject: [PATCH] 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. --- common/rfb/VNCServerST.cxx | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.5