diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/drm/drm.h | 1 | ||||
-rw-r--r-- | include/backend/drm/iface.h | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 9efa3eaa..578d5d79 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -51,6 +51,7 @@ struct wlr_drm_crtc { uint32_t id; uint32_t pending; // bitfield of enum wlr_drm_crtc_field + bool active; drmModeModeInfo mode; // Atomic modesetting only diff --git a/include/backend/drm/iface.h b/include/backend/drm/iface.h index 6498bb73..e9bf8040 100644 --- a/include/backend/drm/iface.h +++ b/include/backend/drm/iface.h @@ -13,9 +13,6 @@ struct wlr_drm_crtc; // Used to provide atomic or legacy DRM functions struct wlr_drm_interface { - // Enable or disable DPMS for connector - bool (*conn_enable)(struct wlr_drm_backend *drm, - struct wlr_drm_connector *conn, bool enable); // Commit al pending changes on a CRTC. bool (*crtc_commit)(struct wlr_drm_backend *drm, struct wlr_drm_connector *conn, uint32_t flags); |