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/backend | |
parent | d1493b23918f5558a0f6a24c9a7a2bb34207a6ed (diff) | |
parent | d87574948e839afe6ec0224183c59b633ad0c9a0 (diff) |
Merge pull request #18 from ascent12/session
Fix VT switching with libinput backend
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm.h | 4 | ||||
-rw-r--r-- | include/backend/libinput.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/backend/drm.h b/include/backend/drm.h index 10850d1f..a4995fa9 100644 --- a/include/backend/drm.h +++ b/include/backend/drm.h @@ -34,8 +34,7 @@ struct wlr_backend_state { struct wlr_backend *backend; struct wl_event_source *drm_event; - struct wl_listener device_paused; - struct wl_listener device_resumed; + struct wl_listener session_signal; struct wl_listener drm_invalidated; uint32_t taken_crtcs; @@ -90,5 +89,6 @@ void wlr_drm_scan_connectors(struct wlr_backend_state *state); int wlr_drm_event(int fd, uint32_t mask, void *data); void wlr_drm_output_start_renderer(struct wlr_output_state *output); +void wlr_drm_output_pause_renderer(struct wlr_output_state *output); #endif diff --git a/include/backend/libinput.h b/include/backend/libinput.h index 89286ab8..1e8b9072 100644 --- a/include/backend/libinput.h +++ b/include/backend/libinput.h @@ -16,6 +16,8 @@ struct wlr_backend_state { struct libinput *libinput; struct wl_event_source *input_event; + struct wl_listener session_signal; + list_t *devices; }; |