diff options
author | Scott Anderson <ascent12@hotmail.com> | 2017-05-14 01:24:09 +1200 |
---|---|---|
committer | Scott Anderson <ascent12@hotmail.com> | 2017-05-14 01:24:09 +1200 |
commit | eac603bfdf107daa1bb33568c8cc282713c31edd (patch) | |
tree | fe3752518a62f96f970ea98478150f96ca612b2e /include/backend/drm | |
parent | 3000b8615fd4ba62b1a0f804caf0b150d5edf22c (diff) | |
parent | 599d1bcbdc8e0e9fb2d743d70dbf8b6fa9f3bea2 (diff) |
Merge branch 'master' into refresh
Diffstat (limited to 'include/backend/drm')
-rw-r--r-- | include/backend/drm/drm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 4b42aa68..93de4fb8 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -36,6 +36,10 @@ struct wlr_output_state { uint32_t connector; char name[16]; + struct { + uint32_t dpms; + } props; + uint32_t width; uint32_t height; @@ -51,6 +55,7 @@ struct wlr_output_state { }; void wlr_drm_output_cleanup(struct wlr_output_state *output, bool restore); +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); |