aboutsummaryrefslogtreecommitdiff
path: root/include/backend/session/session.h
blob: ebe6fc700095122307d619d7dd897d09c9feb11a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef BACKEND_SESSION_SESSION_H
#define BACKEND_SESSION_SESSION_H

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