mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-07-17 16:36:49 +00:00
Adjust no-data update condition
This commit is contained in:
parent
ccffbdca3e
commit
5e97a459c7
2 changed files with 1 additions and 3 deletions
|
|
@ -284,8 +284,6 @@ bool SMsgWriter::needNoDataUpdate()
|
|||
return true;
|
||||
if (needExtendedDesktopSize || !extendedDesktopSizeMsgs.empty())
|
||||
return true;
|
||||
if (needSetCursor || needSetXCursor || needSetCursorWithAlpha || needSetVMWareCursor)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1414,7 +1414,7 @@ void VNCSConnectionST::writeFramebufferUpdate()
|
|||
|
||||
void VNCSConnectionST::writeNoDataUpdate()
|
||||
{
|
||||
if (!writer()->needNoDataUpdate())
|
||||
if (!writer()->needFakeUpdate())
|
||||
return;
|
||||
|
||||
writer()->writeNoDataUpdate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue