aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/session.h')
-rw-r--r--include/wlr/session.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/wlr/session.h b/include/wlr/session.h
index 4a5b2174..52dbf8ca 100644
--- a/include/wlr/session.h
+++ b/include/wlr/session.h
@@ -9,16 +9,18 @@ struct session_impl;
struct wlr_session {
const struct session_impl *impl;
-
- bool active;
struct wl_signal session_signal;
+ bool active;
+
+ int drm_fd;
+ unsigned vtnr;
+ char seat[8];
};
struct wlr_session *wlr_session_start(struct wl_display *disp);
void wlr_session_finish(struct wlr_session *session);
-int wlr_session_open_file(struct wlr_session *restrict session,
- const char *restrict path);
+int wlr_session_open_file(struct wlr_session *session, const char *path);
void wlr_session_close_file(struct wlr_session *session, int fd);
-bool wlr_session_change_vt(struct wlr_session *session, int vt);
+bool wlr_session_change_vt(struct wlr_session *session, unsigned vt);
#endif