aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorllyyr <llyyr.public@gmail.com>2025-10-29 03:53:24 +0530
committerSimon Ser <contact@emersion.fr>2025-10-28 23:34:18 +0100
commit055be4ec35eec4eaaf066a18ccbf5132ebed0694 (patch)
treebfc3d8470da20066dd02ce97b4a06dd55d551124
parentb7eb6177e1d634620d73d56224cf154e3b854e0f (diff)
sway/server: advertise gamma2.2 and bt1886 transfer functions
-rw-r--r--sway/server.c2
1 files changed, 2 insertions, 0 deletions
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,