aboutsummaryrefslogtreecommitdiff
path: root/include/session/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/session/interface.h')
-rw-r--r--include/session/interface.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/session/interface.h b/include/session/interface.h
index a815718f..7345c4cf 100644
--- a/include/session/interface.h
+++ b/include/session/interface.h
@@ -1,18 +1,15 @@
#ifndef WLR_SESSION_INTERFACE_H
#define WLR_SESSION_INTERFACE_H
-struct wlr_session;
+#include <wlr/session.h>
struct session_interface {
- struct wlr_session *(*start)(void);
+ struct wlr_session *(*start)(struct wl_display *disp);
void (*finish)(struct wlr_session *session);
int (*open)(struct wlr_session *restrict session,
const char *restrict path);
void (*close)(struct wlr_session *session, int fd);
-};
-
-struct wlr_session {
- struct session_interface iface;
+ bool (*change_vt)(struct wlr_session *session, int vt);
};
extern const struct session_interface session_logind_iface;