aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-08-10 17:48:04 +0200
committerSimon Ser <contact@emersion.fr>2021-09-07 11:18:18 +0200
commit3fbf6e02a35e66abb52ca9c79527f3d07e8d9e4a (patch)
tree777f65763ff80d2f7e8ee113566c50db7acbb89f /include/backend/drm
parent88919464efb5d43cc695a2609543d4281fababaf (diff)
backend/drm: rename enum wlr_drm_connector_state to status
"state" is easily confused with wlr_output_state.
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/drm.h6
1 files changed, 3 insertions, 3 deletions
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;