Use wlr_scene_attach_output_layout

This provides wlr_output_layout integration.

References: https://github.com/swaywm/wlroots/pull/3160
This commit is contained in:
Simon Ser 2021-09-09 12:18:23 +02:00
parent 6a99224956
commit f12189a074
2 changed files with 14 additions and 1 deletions

2
cage.c
View file

@ -338,6 +338,8 @@ main(int argc, char *argv[])
goto end;
}
wlr_scene_attach_output_layout(server.scene, server.output_layout);
compositor = wlr_compositor_create(server.wl_display, server.renderer);
if (!compositor) {
wlr_log(WLR_ERROR, "Unable to create the wlroots compositor");