Merge pull request #797 from emersion/drm-cursor-transform

Fix cursor transform on DRM backend
This commit is contained in:
Drew DeVault 2018-03-31 21:30:40 -04:00 committed by GitHub
commit 1b258ffceb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -579,8 +579,7 @@ static bool wlr_drm_connector_set_cursor(struct wlr_output *output,
return false; return false;
} }
enum wl_output_transform transform = enum wl_output_transform transform = output->transform;
wlr_output_transform_invert(output->transform);
wlr_matrix_projection(plane->matrix, plane->surf.width, wlr_matrix_projection(plane->matrix, plane->surf.width,
plane->surf.height, transform); plane->surf.height, transform);
} }