mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-08 08:21:12 -04:00
chore: wlr_compositor_create with version
This commit is contained in:
parent
fead42683b
commit
7017aa4457
1 changed files with 1 additions and 1 deletions
2
cage.c
2
cage.c
|
|
@ -342,7 +342,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
wlr_scene_attach_output_layout(server.scene, server.output_layout);
|
wlr_scene_attach_output_layout(server.scene, server.output_layout);
|
||||||
|
|
||||||
struct wlr_compositor *compositor = wlr_compositor_create(server.wl_display, server.renderer);
|
struct wlr_compositor *compositor = wlr_compositor_create(server.wl_display, 6, server.renderer);
|
||||||
if (!compositor) {
|
if (!compositor) {
|
||||||
wlr_log(WLR_ERROR, "Unable to create the wlroots compositor");
|
wlr_log(WLR_ERROR, "Unable to create the wlroots compositor");
|
||||||
ret = 1;
|
ret = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue