output: Add scene output layout helper manually

This commit is contained in:
Kenny Levinsen 2023-11-25 12:48:30 +01:00 committed by Simon Ser
parent 63c0887664
commit f0bc13bef7
3 changed files with 9 additions and 3 deletions

2
cage.c
View file

@ -340,7 +340,7 @@ main(int argc, char *argv[])
goto end;
}
wlr_scene_attach_output_layout(server.scene, server.output_layout);
server.scene_output_layout = wlr_scene_attach_output_layout(server.scene, server.output_layout);
struct wlr_compositor *compositor = wlr_compositor_create(server.wl_display, 6, server.renderer);
if (!compositor) {