diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-05-13 23:56:40 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-05-14 12:40:17 +1200 |
commit | c88f25258027257e1f6c56e9f76b8fc1feaedbd4 (patch) | |
tree | 6475e59c5a265f54a8b3a6e928b78070cb54bf3c /include/session/interface.h | |
parent | 66e02e97ec3322b6453bf0db227fd2cd6c39c819 (diff) |
Initial D-Bus signal support.
Diffstat (limited to 'include/session/interface.h')
-rw-r--r-- | include/session/interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/session/interface.h b/include/session/interface.h index a815718f..68754280 100644 --- a/include/session/interface.h +++ b/include/session/interface.h @@ -4,11 +4,12 @@ struct wlr_session; 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); + bool (*change_vt)(struct wlr_session *session, int vt); }; struct wlr_session { |