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/backend/session/session.h | |
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/backend/session/session.h')
-rw-r--r-- | include/backend/session/session.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/backend/session/session.h b/include/backend/session/session.h index 626f470a..ebe6fc70 100644 --- a/include/backend/session/session.h +++ b/include/backend/session/session.h @@ -3,6 +3,12 @@ struct wlr_session; +struct wlr_session *libseat_session_create(struct wl_display *disp); +void libseat_session_destroy(struct wlr_session *base); +int libseat_session_open_device(struct wlr_session *base, const char *path); +void libseat_session_close_device(struct wlr_session *base, int fd); +bool libseat_change_vt(struct wlr_session *base, unsigned vt); + void session_init(struct wlr_session *session); #endif |