From 2e12de96ca988f9b8ee51789e70542c24bab8844 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 19 Sep 2021 16:36:23 +0200 Subject: backend/drm: add support for panel orientation Expose the panel orientation with wlr_drm_connector_get_panel_orientation. Leave it to the compositor to consume this information and configure the output accordingly. Closes: https://github.com/swaywm/wlroots/issues/1581 --- backend/drm/properties.c | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/drm/properties.c') diff --git a/backend/drm/properties.c b/backend/drm/properties.c index 2717e09e..f2696593 100644 --- a/backend/drm/properties.c +++ b/backend/drm/properties.c @@ -26,6 +26,7 @@ static const struct prop_info connector_info[] = { { "PATH", INDEX(path) }, { "link-status", INDEX(link_status) }, { "non-desktop", INDEX(non_desktop) }, + { "panel orientation", INDEX(panel_orientation) }, { "subconnector", INDEX(subconnector) }, { "vrr_capable", INDEX(vrr_capable) }, #undef INDEX -- cgit v1.2.3