diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-04-11 16:27:46 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-14 23:25:07 +0200 |
commit | 7f0908546149a39f8db1e842f679364e5d1e59cb (patch) | |
tree | cd9d84a6320b2a426cd3e62c7ba4f6bcf03490fa /include/wlr/backend/session | |
parent | 3f87c2caea6656cf409f99040a5af8deba9c19c1 (diff) |
backend/session: Remove session_impl
libseat provides all session functionality, so there is no longer need
for a session backend abstraction. The libseat device ID, seat handle
and event loop handle are moved to the main wlr_session and wlr_device
structs.
Diffstat (limited to 'include/wlr/backend/session')
-rw-r--r-- | include/wlr/backend/session/interface.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/wlr/backend/session/interface.h b/include/wlr/backend/session/interface.h deleted file mode 100644 index 5ccf9c8a..00000000 --- a/include/wlr/backend/session/interface.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * This an unstable interface of wlroots. No guarantees are made regarding the - * future consistency of this API. - */ -#ifndef WLR_USE_UNSTABLE -#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features" -#endif - -#ifndef WLR_BACKEND_SESSION_INTERFACE_H -#define WLR_BACKEND_SESSION_INTERFACE_H - -#include <wlr/backend/session.h> - -struct session_impl { - struct wlr_session *(*create)(struct wl_display *disp); - void (*destroy)(struct wlr_session *session); - int (*open)(struct wlr_session *session, const char *path); - void (*close)(struct wlr_session *session, int fd); - bool (*change_vt)(struct wlr_session *session, unsigned vt); -}; - -#endif |