mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -04:00
Pass wl_display to wlr_output_layout
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4310
This commit is contained in:
parent
fd6d6f1d97
commit
128b6253a9
4 changed files with 5 additions and 5 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue