aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-09-19 16:36:23 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-09-21 11:40:37 -0600
commit2e12de96ca988f9b8ee51789e70542c24bab8844 (patch)
treefe685ca317d48e42db41ccc9035191cddc329968 /include/backend
parent0c5ff5efabac281065962538ec61431b6ce5c51d (diff)
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
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/drm/properties.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/drm/properties.h b/include/backend/drm/properties.h
index 99d5a92e..10c1ccd0 100644
--- a/include/backend/drm/properties.h
+++ b/include/backend/drm/properties.h
@@ -19,6 +19,7 @@ union wlr_drm_connector_props {
uint32_t vrr_capable; // not guaranteed to exist
uint32_t subconnector; // not guaranteed to exist
uint32_t non_desktop;
+ uint32_t panel_orientation; // not guaranteed to exist
// atomic-modesetting only