aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/drm.c2
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;
}