Destroy multi backend on display destroy

This commit is contained in:
emersion 2017-12-19 18:28:47 +01:00
parent fc78e269a5
commit 4a36ba4bdd
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 26 additions and 13 deletions

View file

@ -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;
}