Don't send an update that hasn't been requested
parent
6dec7287f7
commit
05ff0c1514
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue