Adjust no-data update condition

This commit is contained in:
El 2026-06-01 13:09:30 +00:00
parent ccffbdca3e
commit 5e97a459c7
No known key found for this signature in database
GPG key ID: EB3F4C9EA29CDE59
2 changed files with 1 additions and 3 deletions

View file

@ -284,8 +284,6 @@ bool SMsgWriter::needNoDataUpdate()
return true;
if (needExtendedDesktopSize || !extendedDesktopSizeMsgs.empty())
return true;
if (needSetCursor || needSetXCursor || needSetCursorWithAlpha || needSetVMWareCursor)
return true;
return false;
}

View file

@ -1414,7 +1414,7 @@ void VNCSConnectionST::writeFramebufferUpdate()
void VNCSConnectionST::writeNoDataUpdate()
{
if (!writer()->needNoDataUpdate())
if (!writer()->needFakeUpdate())
return;
writer()->writeNoDataUpdate();