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 /include | |
parent | 41b7acbab78597e2eb0724e415ed94b910d113c1 (diff) |
backend: drop wlr_backend_get_session()
This no longer has purpose.
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/multi.h | 2 | ||||
-rw-r--r-- | include/wlr/backend.h | 5 | ||||
-rw-r--r-- | include/wlr/backend/interface.h | 1 |
3 files changed, 0 insertions, 8 deletions
diff --git a/include/backend/multi.h b/include/backend/multi.h index 2f5f1bd4..20ad9db1 100644 --- a/include/backend/multi.h +++ b/include/backend/multi.h @@ -4,11 +4,9 @@ #include <wayland-util.h> #include <wlr/backend/interface.h> #include <wlr/backend/multi.h> -#include <wlr/backend/session.h> struct wlr_multi_backend { struct wlr_backend backend; - struct wlr_session *session; struct wl_list backends; diff --git a/include/wlr/backend.h b/include/wlr/backend.h index 5cafad66..9fed75f2 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -52,11 +52,6 @@ bool wlr_backend_start(struct wlr_backend *backend); */ void wlr_backend_destroy(struct wlr_backend *backend); /** - * Obtains the struct wlr_session reference from this backend if there is any. - * Might return NULL for backends that don't use a session. - */ -struct wlr_session *wlr_backend_get_session(struct wlr_backend *backend); -/** * Returns the clock used by the backend for presentation feedback. */ clockid_t wlr_backend_get_presentation_clock(struct wlr_backend *backend); diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h index d5bb9bca..8b922f1d 100644 --- a/include/wlr/backend/interface.h +++ b/include/wlr/backend/interface.h @@ -16,7 +16,6 @@ struct wlr_backend_impl { bool (*start)(struct wlr_backend *backend); void (*destroy)(struct wlr_backend *backend); - struct wlr_session *(*get_session)(struct wlr_backend *backend); clockid_t (*get_presentation_clock)(struct wlr_backend *backend); int (*get_drm_fd)(struct wlr_backend *backend); uint32_t (*get_buffer_caps)(struct wlr_backend *backend); |