mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Destroy multi backend on display destroy
This commit is contained in:
parent
fc78e269a5
commit
4a36ba4bdd
5 changed files with 26 additions and 13 deletions
|
|
@ -91,7 +91,7 @@ struct wlr_backend *wlr_backend_autocreate(struct wl_display *display) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
backend = wlr_multi_backend_create(session);
|
||||
backend = wlr_multi_backend_create(display, session);
|
||||
if (!backend) {
|
||||
goto error_session;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue