aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/server.c b/sway/server.c
index 063b9633..7f399a2b 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -11,6 +11,7 @@
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_alpha_modifier_v1.h>
#include <wlr/types/wlr_color_management_v1.h>
+#include <wlr/types/wlr_color_representation_v1.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_content_type_v1.h>
#include <wlr/types/wlr_cursor_shape_v1.h>
@@ -485,6 +486,9 @@ bool server_init(struct sway_server *server) {
wlr_scene_set_color_manager_v1(root->root_scene, cm);
}
+ wlr_color_representation_manager_v1_create_with_renderer(
+ server->wl_display, 1, server->renderer);
+
wl_list_init(&server->pending_launcher_ctxs);
// Avoid using "wayland-0" as display socket