diff options
author | Clayton Craft <clayton@craftyguy.net> | 2023-06-30 09:34:28 -0700 |
---|---|---|
committer | Clayton Craft <clayton@craftyguy.net> | 2023-06-30 09:34:28 -0700 |
commit | aca48124adbe4fd2c70b4799beb833a53325ca5f (patch) | |
tree | a0a55a645b98ff3e071f187bde24877db5b68554 /backend/drm | |
parent | aa1055134da5f5f4f25a5781b43305b7de79fd99 (diff) |
backend/drm: use panel_orientation if it is set
This fixes an issue where the panel_orientation parameter was set but wlroots was ignoring it and
returning OUTPUT_TRANSFORM_NORMAL.
Fixes 2e12de96
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index c07b7e13..8c639379 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -1096,7 +1096,7 @@ uint32_t wlr_drm_connector_get_id(struct wlr_output *output) { enum wl_output_transform wlr_drm_connector_get_panel_orientation( struct wlr_output *output) { struct wlr_drm_connector *conn = get_drm_connector_from_output(output); - if (conn->props.panel_orientation) { + if (!conn->props.panel_orientation) { return WL_OUTPUT_TRANSFORM_NORMAL; } |