mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
Pass version to wlr_compositor_create()
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3696
This commit is contained in:
parent
dadf3e9b78
commit
5e847fe3c8
@ -103,7 +103,7 @@ bool server_init(struct sway_server *server) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
server->compositor = wlr_compositor_create(server->wl_display,
|
server->compositor = wlr_compositor_create(server->wl_display, 5,
|
||||||
server->renderer);
|
server->renderer);
|
||||||
server->compositor_new_surface.notify = handle_compositor_new_surface;
|
server->compositor_new_surface.notify = handle_compositor_new_surface;
|
||||||
wl_signal_add(&server->compositor->events.new_surface,
|
wl_signal_add(&server->compositor->events.new_surface,
|
||||||
|
Loading…
Reference in New Issue
Block a user