wlroots-hyprland/include/wlr/session.h

23 lines
584 B
C
Raw Normal View History

2017-05-03 04:11:22 +02:00
#ifndef WLR_SESSION_H
#define WLR_SESSION_H
2017-05-13 13:56:40 +02:00
#include <wayland-server.h>
2017-05-13 15:12:47 +02:00
struct session_interface;
struct wlr_session {
const struct session_interface *iface;
struct wl_signal device_paused;
struct wl_signal device_resumed;
};
2017-05-03 04:11:22 +02:00
2017-05-13 13:56:40 +02:00
struct wlr_session *wlr_session_start(struct wl_display *disp);
2017-05-03 04:11:22 +02:00
void wlr_session_finish(struct wlr_session *session);
int wlr_session_open_file(struct wlr_session *restrict session,
const char *restrict path);
void wlr_session_close_file(struct wlr_session *session, int fd);
2017-05-13 13:56:40 +02:00
bool wlr_session_change_vt(struct wlr_session *session, int vt);
2017-05-03 04:11:22 +02:00
#endif