From 058b8bdf2755da16d38dccc8de715a984fdd620c Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Sun, 14 May 2017 01:12:47 +1200 Subject: Working commit --- include/backend/drm/backend.h | 3 +++ include/backend/drm/drm.h | 2 ++ 2 files changed, 5 insertions(+) (limited to 'include/backend/drm') 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 -- cgit v1.2.3