diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-21 09:58:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-21 09:58:15 -0400 |
commit | fd5ad1589460db3e8663efb1b09eacae1fb5e760 (patch) | |
tree | ab935777fb413666dab388b67be6c37e45cfca88 /include/wlr | |
parent | d1493b23918f5558a0f6a24c9a7a2bb34207a6ed (diff) | |
parent | d87574948e839afe6ec0224183c59b633ad0c9a0 (diff) |
Merge pull request #18 from ascent12/session
Fix VT switching with libinput backend
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/session.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/wlr/session.h b/include/wlr/session.h index 28ccb526..4a5b2174 100644 --- a/include/wlr/session.h +++ b/include/wlr/session.h @@ -1,22 +1,17 @@ #ifndef WLR_SESSION_H #define WLR_SESSION_H +#include <stdbool.h> #include <wayland-server.h> #include <sys/types.h> struct session_impl; -// Passed to the listeners of device_paused/resumed -struct device_arg { - dev_t dev; - int fd; // Only for device_resumed -}; - struct wlr_session { const struct session_impl *impl; - struct wl_signal device_paused; - struct wl_signal device_resumed; + bool active; + struct wl_signal session_signal; }; struct wlr_session *wlr_session_start(struct wl_display *disp); |