aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-31 21:30:40 -0400
committerGitHub <noreply@github.com>2018-03-31 21:30:40 -0400
commit1b258ffceb489a8ef339773ef23b1ac65f8774bd (patch)
treecb38370d2a4b9ec8d1558446f2aabd1875306cb3
parent00e12278c7f94ff7d9505e359c671d50e8622020 (diff)
parenta2391a6047baa6c3755b8be95af540ab6d8846c9 (diff)
Merge pull request #797 from emersion/drm-cursor-transform
Fix cursor transform on DRM 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);
}