Skip to content

Commit

Permalink
Create subcompositor in backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdilts committed Oct 19, 2023
1 parent 6f0c862 commit dc2a5a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions heart/src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <wlr/types/wlr_screencopy_v1.h>
#include <wlr/types/wlr_data_control_v1.h>
#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_subcompositor.h>
#include <wlr/types/wlr_data_device.h>
#include <wlr/render/wlr_renderer.h>

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit dc2a5a5

Please sign in to comment.