From 3fbf6e02a35e66abb52ca9c79527f3d07e8d9e4a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 10 Aug 2021 17:48:04 +0200 Subject: backend/drm: rename enum wlr_drm_connector_state to status "state" is easily confused with wlr_output_state. --- include/backend/drm/drm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/backend') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index d57ddbf4..87160ac6 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -90,7 +90,7 @@ struct wlr_drm_backend { struct wlr_drm_format_set mgpu_formats; }; -enum wlr_drm_connector_state { +enum wlr_drm_connector_status { // Connector is available but no output is plugged in WLR_DRM_CONN_DISCONNECTED, // An output just has been plugged in and is waiting for a modeset @@ -105,11 +105,11 @@ struct wlr_drm_mode { }; struct wlr_drm_connector { - struct wlr_output output; // only valid if state != DISCONNECTED + struct wlr_output output; // only valid if status != DISCONNECTED struct wlr_drm_backend *backend; char name[24]; - enum wlr_drm_connector_state state; + enum wlr_drm_connector_status status; struct wlr_output_mode *desired_mode; bool desired_enabled; uint32_t id; -- cgit v1.2.3