mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Added public fields to wlr_session
This commit is contained in:
parent
f413a67bb1
commit
bd5bca5283
5 changed files with 59 additions and 43 deletions
|
|
@ -33,9 +33,7 @@ void wlr_session_finish(struct wlr_session *session) {
|
|||
session->impl->finish(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) {
|
||||
return session->impl->open(session, path);
|
||||
}
|
||||
|
||||
|
|
@ -43,6 +41,6 @@ void wlr_session_close_file(struct wlr_session *session, int fd) {
|
|||
session->impl->close(session, fd);
|
||||
}
|
||||
|
||||
bool wlr_session_change_vt(struct wlr_session *session, int vt) {
|
||||
bool wlr_session_change_vt(struct wlr_session *session, unsigned vt) {
|
||||
return session->impl->change_vt(session, vt);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue