From f1a6710bba71e8a510374dd5dc54d235c855020d Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Fri, 2 Feb 2024 22:17:52 +0000 Subject: [PATCH] server: Log pixel format choice --- src/server.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server.c b/src/server.c index c27e9c8..545d7cd 100644 --- a/src/server.c +++ b/src/server.c @@ -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); }