mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-24 01:40:32 -05:00
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:
parent
d46e8a82dd
commit
0736d72e88
2 changed files with 14 additions and 1 deletions
2
cage.c
2
cage.c
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue