diff --git a/src/server.c b/src/server.c index 4db59d7..f03bfea 100644 --- a/src/server.c +++ b/src/server.c @@ -1052,6 +1052,8 @@ static int send_desktop_resize(struct nvnc_client* client, struct nvnc_fb* fb) client->known_width = fb->width; client->known_height = fb->height; + tight_encoder_resize(&client->tight_encoder, fb->width, fb->height); + pixman_region_union_rect(&client->damage, &client->damage, 0, 0, fb->width, fb->height);