Merge branch 'feature/KASM-2797_force_full_frame' into 'master'

Add /api/send_full_frame

Closes KASM-2797

See merge request kasm-technologies/internal/KasmVNC!50
This commit is contained in:
Anthony Merrill
2022-08-14 16:13:32 +00:00
5 changed files with 47 additions and 0 deletions

View File

@@ -1221,3 +1221,13 @@ void VNCServerST::handleClipboardAnnounceBinary(VNCSConnectionST* client,
clipboardClient = client;
desktop->handleClipboardAnnounceBinary(num, mimes);
}
void VNCServerST::refreshClients()
{
add_changed(pb->getRect());
std::list<VNCSConnectionST*>::iterator i;
for (i = clients.begin(); i != clients.end(); i++) {
(*i)->add_changed_all();
}
}

View File

@@ -197,6 +197,8 @@ namespace rfb {
void handleClipboardAnnounceBinary(VNCSConnectionST* client, const unsigned num,
const char mimes[][32]);
void refreshClients();
protected:
friend class VNCSConnectionST;