Don't send an update that hasn't been requested

tight-png
Andri Yngvason 2019-10-12 17:29:08 +00:00
parent 6dec7287f7
commit 05ff0c1514
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ static void process_fb_update_requests(struct nvnc_client *client)
if (!pixman_region_not_empty(&client->damage)) if (!pixman_region_not_empty(&client->damage))
return; return;
if (client->is_updating) if (client->is_updating || client->n_pending_requests == 0)
return; return;
client->is_updating = true; client->is_updating = true;