From 055be4ec35eec4eaaf066a18ccbf5132ebed0694 Mon Sep 17 00:00:00 2001 From: llyyr Date: Wed, 29 Oct 2025 03:53:24 +0530 Subject: [PATCH] sway/server: advertise gamma2.2 and bt1886 transfer functions --- sway/server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sway/server.c b/sway/server.c index 4e606a391..063b96331 100644 --- a/sway/server.c +++ b/sway/server.c @@ -462,6 +462,8 @@ bool server_init(struct sway_server *server) { WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_SRGB, WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_ST2084_PQ, WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_EXT_LINEAR, + WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_GAMMA22, + WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_BT1886, }; const enum wp_color_manager_v1_primaries primaries[] = { WP_COLOR_MANAGER_V1_PRIMARIES_SRGB,