server: Log pixel format choice

pull/110/head
Andri Yngvason 2024-02-02 22:17:52 +00:00
parent 584fb77cc8
commit f1a6710bba
1 changed files with 3 additions and 0 deletions

View File

@ -938,6 +938,9 @@ static int on_client_set_pixel_format(struct nvnc_client* client)
client->has_pixfmt = true;
nvnc_log(NVNC_LOG_DEBUG, "Client %p chose pixel format: %s", client,
rfb_pixfmt_to_string(fmt));
return 4 + sizeof(struct rfb_pixel_format);
}