Pass wl_display to wlr_output_layout

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4310
This commit is contained in:
Simon Ser 2023-11-23 13:08:53 +01:00 committed by Kirill Primak
parent fd6d6f1d97
commit 128b6253a9
4 changed files with 5 additions and 5 deletions

View file

@ -120,6 +120,8 @@ bool server_init(struct sway_server *server) {
wl_display_set_global_filter(server->wl_display, filter_global, NULL);
root = root_create(server->wl_display);
server->backend = wlr_backend_autocreate(server->wl_display, &server->session);
if (!server->backend) {
sway_log(SWAY_ERROR, "Unable to create backend");