Don't send anything to clients that don't have active requests
parent
b10c6c2a5a
commit
18062f08d2
|
@ -790,6 +790,9 @@ int nvnc_update_fb(struct nvnc *self, const struct nvnc_fb *fb,
|
||||||
|
|
||||||
pixman_region_intersect(cregion, cregion, ®ion);
|
pixman_region_intersect(cregion, cregion, ®ion);
|
||||||
|
|
||||||
|
if (!pixman_region_not_empty(cregion))
|
||||||
|
continue;
|
||||||
|
|
||||||
zrle_encode_frame(&client->z_stream, &frame, &client->pixfmt,
|
zrle_encode_frame(&client->z_stream, &frame, &client->pixfmt,
|
||||||
fb->addr, &server_fmt, fb->width, fb->height,
|
fb->addr, &server_fmt, fb->width, fb->height,
|
||||||
®ion);
|
®ion);
|
||||||
|
|
Loading…
Reference in New Issue