Resolve KASM-4489 "Feature/ watermark time"

This commit is contained in:
Lauri Kasanen
2023-07-26 23:55:06 +00:00
committed by Matthew McClaskey
parent 9450157af1
commit 25a996cb97
24 changed files with 3531 additions and 13 deletions

View File

@@ -974,6 +974,11 @@ void VNCServerST::writeUpdate()
blackOut();
}
if (watermarkData && Server::DLP_WatermarkText[0] && watermarkTextNeedsUpdate(true)) {
// If using a text watermark, we have to mark everything as changed...
refreshClients();
}
comparer->getUpdateInfo(&ui, pb->getRect());
toCheck = ui.changed.union_(ui.copied);