From f24409468213d363bcc7dca3130c78619ee1a138 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 28 Jul 2022 10:38:21 +0200 Subject: backend/drm: drop enum wlr_drm_connector_status We can just use libdrm's drmModeConnection enum instead. --- include/backend/drm/drm.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/backend') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 8ab0c279..f362f18a 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -90,12 +90,6 @@ struct wlr_drm_backend { struct wlr_drm_format_set mgpu_formats; }; -enum wlr_drm_connector_status { - // Connector is available but no output is plugged in - WLR_DRM_CONN_DISCONNECTED, - WLR_DRM_CONN_CONNECTED, -}; - struct wlr_drm_mode { struct wlr_output_mode wlr_mode; drmModeModeInfo drm_mode; @@ -113,7 +107,7 @@ struct wlr_drm_connector { struct wlr_drm_backend *backend; char name[24]; - enum wlr_drm_connector_status status; + drmModeConnection status; bool desired_enabled; uint32_t id; uint64_t max_bpc; -- cgit v1.2.3