Browse Source

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.
tags/v1.8.90
Pierre Ossman 6 years ago
parent
commit
b1e80f7b02
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      common/rfb/VNCServerST.cxx

+ 1
- 0
common/rfb/VNCServerST.cxx View File

@@ -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)

Loading…
Cancel
Save