aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-31 20:55:31 -0400
committeremersion <contact@emersion.fr>2018-03-31 20:55:31 -0400
commita2391a6047baa6c3755b8be95af540ab6d8846c9 (patch)
treecb38370d2a4b9ec8d1558446f2aabd1875306cb3 /backend
parent00e12278c7f94ff7d9505e359c671d50e8622020 (diff)
Fix cursor transform on DRM backend
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 94bfbc96..187db368 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -579,8 +579,7 @@ static bool wlr_drm_connector_set_cursor(struct wlr_output *output,
return false;
}
- enum wl_output_transform transform =
- wlr_output_transform_invert(output->transform);
+ enum wl_output_transform transform = output->transform;
wlr_matrix_projection(plane->matrix, plane->surf.width,
plane->surf.height, transform);
}