aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/backend/drm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h
index 0a307166..baa03421 100644
--- a/include/wlr/backend/drm.h
+++ b/include/wlr/backend/drm.h
@@ -29,6 +29,11 @@ bool wlr_backend_is_drm(struct wlr_backend *backend);
bool wlr_output_is_drm(struct wlr_output *output);
/**
+ * Get the KMS connector object ID.
+ */
+uint32_t wlr_drm_connector_get_id(struct wlr_output *output);
+
+/**
* Add mode to the list of available modes
*/
typedef struct _drmModeModeInfo drmModeModeInfo;