diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-05-14 01:12:47 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-05-14 12:42:49 +1200 |
commit | 058b8bdf2755da16d38dccc8de715a984fdd620c (patch) | |
tree | 00f810c56fc1ae04125bc003df45e80f01448e7f /include/backend/drm | |
parent | c88f25258027257e1f6c56e9f76b8fc1feaedbd4 (diff) |
Working commit
Diffstat (limited to 'include/backend/drm')
-rw-r--r-- | include/backend/drm/backend.h | 3 | ||||
-rw-r--r-- | include/backend/drm/drm.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/backend/drm/backend.h b/include/backend/drm/backend.h index 0c725ccb..4df86e21 100644 --- a/include/backend/drm/backend.h +++ b/include/backend/drm/backend.h @@ -23,6 +23,9 @@ struct wlr_backend_state { struct wlr_backend *backend; struct wl_event_source *drm_event; + struct wl_listener device_paused; + struct wl_listener device_resumed; + uint32_t taken_crtcs; list_t *outputs; diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 93de4fb8..6c60e2b6 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -60,4 +60,6 @@ void wlr_drm_output_dpms(int fd, struct wlr_output_state *output, bool screen_on 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_draw_blank(struct wlr_output_state *output); + #endif |