From 3c628887afaba911c2d61473fea8d9855fb5c8cb Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Wed, 29 Oct 2025 03:53:24 +0530 Subject: 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 4e606a39..063b9633 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, -- cgit v1.2.3