Fix cursor transform on DRM backend

This commit is contained in:
emersion 2018-03-31 20:55:31 -04:00
parent 00e12278c7
commit a2391a6047
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}