diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-08-26 14:02:04 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-08-26 14:02:04 +1200 |
commit | fb93628bda0cb7750628e227213a1ddc2ae34be9 (patch) | |
tree | fbf3e2aa08594ad6f30dfdc51089a5309ad1a597 /backend/multi | |
parent | 46823152ea5e2d0f888fa25ba6b4b1896e4e89b9 (diff) |
Merge wlr_udev into wlr_session
Diffstat (limited to 'backend/multi')
-rw-r--r-- | backend/multi/backend.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c index 9bb596e5..5f745c40 100644 --- a/backend/multi/backend.c +++ b/backend/multi/backend.c @@ -2,7 +2,6 @@ #include <stdbool.h> #include <stdlib.h> #include <wlr/backend/interface.h> -#include <wlr/backend/udev.h> #include <wlr/backend/session.h> #include <wlr/util/log.h> #include "backend/multi.h" @@ -37,7 +36,6 @@ static void multi_backend_destroy(struct wlr_backend *_backend) { } list_free(backend->backends); wlr_session_destroy(backend->session); - wlr_udev_destroy(backend->udev); free(backend); } @@ -59,8 +57,7 @@ struct wlr_backend_impl backend_impl = { .get_egl = multi_backend_get_egl }; -struct wlr_backend *wlr_multi_backend_create(struct wlr_session *session, - struct wlr_udev *udev) { +struct wlr_backend *wlr_multi_backend_create(struct wlr_session *session) { struct wlr_multi_backend *backend = calloc(1, sizeof(struct wlr_multi_backend)); if (!backend) { @@ -78,7 +75,6 @@ struct wlr_backend *wlr_multi_backend_create(struct wlr_session *session, wlr_backend_init(&backend->backend, &backend_impl); backend->session = session; - backend->udev = udev; return &backend->backend; } |