aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2025-10-29 03:53:24 +0530
committerFurkan Sahin <furkan-dev@proton.me>2025-10-29 03:53:24 +0530
commit3c628887afaba911c2d61473fea8d9855fb5c8cb (patch)
treebfc3d8470da20066dd02ce97b4a06dd55d551124
parent3f6dc0fbe10cd567ab04215da28c95db0fa212fe (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,