vnc: Queue up two extra frambuffer updates

This way the server knows that the client can take up to 3 updates in a
row and doesn't have to wait for an update request after every single
frame.
pull/6/head
Andri Yngvason 2022-04-11 21:20:28 +00:00
parent 5b4694e1fd
commit 3a96498113
1 changed files with 3 additions and 0 deletions

View File

@ -207,6 +207,9 @@ int vnc_client_connect(struct vnc_client* self, const char* address, int port)
FALSE)) FALSE))
return -1; return -1;
SendIncrementalFramebufferUpdateRequest(client);
SendIncrementalFramebufferUpdateRequest(client);
return 0; return 0;
} }