diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-03 18:30:27 +0100 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2022-11-15 21:16:25 +0000 |
commit | e7c556fcf61eb3121d741cd4da526b2619862678 (patch) | |
tree | f1e88c76540d0b69df786965517cad94d1aedb43 /backend/backend.c | |
parent | 41b7acbab78597e2eb0724e415ed94b910d113c1 (diff) |
backend: drop wlr_backend_get_session()
This no longer has purpose.
Diffstat (limited to 'backend/backend.c')
-rw-r--r-- | backend/backend.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/backend/backend.c b/backend/backend.c index 367a5229..2b72d923 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -66,13 +66,6 @@ void wlr_backend_destroy(struct wlr_backend *backend) { } } -struct wlr_session *wlr_backend_get_session(struct wlr_backend *backend) { - if (backend->impl->get_session) { - return backend->impl->get_session(backend); - } - return NULL; -} - static uint64_t get_current_time_ms(void) { struct timespec ts = {0}; clock_gettime(CLOCK_MONOTONIC, &ts); @@ -388,8 +381,6 @@ struct wlr_backend *wlr_backend_autocreate(struct wl_display *display, #endif success: - struct wlr_multi_backend *multi = wl_container_of(backend, multi, backend); - multi->session = session; if (session_ptr != NULL) { *session_ptr = session; } |