Watermark refactoring, don't handle changes, only send when necessary

This commit is contained in:
Lauri Kasanen
2024-01-12 10:46:13 +02:00
parent e8b54db6bf
commit eef8e7264f
7 changed files with 50 additions and 49 deletions

View File

@@ -215,6 +215,10 @@ namespace rfb {
virtual void sendUnixRelayData(const char name[], const unsigned char *buf,
const unsigned len);
bool sendWatermark() const {
return server->sendWatermark;
}
private:
// SConnection callbacks