From dc2a5a51dc512c49a0cbbfac22a797a0c9055181 Mon Sep 17 00:00:00 2001 From: Stuart Dilts Date: Wed, 18 Oct 2023 21:37:52 -0600 Subject: [PATCH] Create subcompositor in backend. --- heart/src/server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/heart/src/server.c b/heart/src/server.c index 8078cc8..98d2229 100644 --- a/heart/src/server.c +++ b/heart/src/server.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include @@ -33,6 +34,7 @@ bool hrt_server_init(struct hrt_server *server, const struct hrt_output_callback } server->compositor = wlr_compositor_create(server->wl_display, server->renderer); + wlr_subcompositor_create(server->wl_display); wlr_data_device_manager_create(server->wl_display); wlr_export_dmabuf_manager_v1_create(server->wl_display);