From c4aebf1ed41bd28a0ffb0fe6728155326e3463d6 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Sun, 22 Mar 2026 14:19:24 +0100 Subject: [PATCH] color-management: Advertise relative colorimetric support While we are required to offer perceptual support, we wlr_scene does not support any kind of tone mapping in the current moment. As such, we might as well advertise relative colorimetric support. As we only support sRGB and BT.2020 right now which share the D65 whitepoint, we could also advertise absolute and absolute_no_adaption if we wanted to. --- sway/server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/server.c b/sway/server.c index 5d446579f..5954ed964 100644 --- a/sway/server.c +++ b/sway/server.c @@ -447,6 +447,7 @@ bool server_init(struct sway_server *server) { if (server->renderer->features.input_color_transform) { const enum wp_color_manager_v1_render_intent render_intents[] = { WP_COLOR_MANAGER_V1_RENDER_INTENT_PERCEPTUAL, + WP_COLOR_MANAGER_V1_RENDER_INTENT_RELATIVE, }; size_t transfer_functions_len = 0; enum wp_color_manager_v1_transfer_function *transfer_functions =