Переглянути джерело

Avoid losing updates on partial requests

A request may be for only part of the frame buffer, meaning we cannot
discard all changes just because we've send out an update. There might
still be modified areas remaining that haven't been requested yet.
tags/v1.4.90
Pierre Ossman 9 роки тому
джерело
коміт
b64dbf29ae
1 змінених файлів з 4 додано та 1 видалено
  1. 4
    1
      common/rfb/VNCSConnectionST.cxx

+ 4
- 1
common/rfb/VNCSConnectionST.cxx Переглянути файл

@@ -1056,8 +1056,11 @@ void VNCSConnectionST::writeFramebufferUpdate()

writeRTTPing();

// The request might be for just part of the screen, so we cannot
// just clear the entire update tracker.
updates.subtract(requested);

requested.clear();
updates.clear();
}

out:

Завантаження…
Відмінити
Зберегти