From 2654a53845af5931cc19bdafa391689beba3e8a9 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 14 Jan 2026 15:01:07 +0200 Subject: [PATCH] staging/color-management: target_primaries unconditional The interface description says the target_primaries event is mandatory, but event documentation disagreed. Fix the disagreement by requiring the event always. This saves the compositor from figuring out whether to send the event or not. I do not know what compositors do today, but sending the event is definitely safe. Compositors that do not always send the event are retroactively deemed buggy. Fixes: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/305 Signed-off-by: Pekka Paalanen --- staging/color-management/color-management-v1.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/staging/color-management/color-management-v1.xml b/staging/color-management/color-management-v1.xml index 0aa59bd..d7c2bf8 100644 --- a/staging/color-management/color-management-v1.xml +++ b/staging/color-management/color-management-v1.xml @@ -1639,9 +1639,7 @@ SMPTE ST 2086 definition of HDR static metadata for mastering displays. While primary color volume is about how color is encoded, the target - color volume is the actually displayable color volume. If target color - volume is equal to the primary color volume, then this event is not - sent. + color volume is the actually displayable color volume. Each coordinate value is multiplied by 1 million to get the argument value to carry precision of 6 decimals.