Fix hidden software cursors, fix cursor transformations on DRM backend

This commit is contained in:
emersion 2017-11-01 14:25:41 +01:00
parent 510ce27fb7
commit 60c018c017
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 50 additions and 38 deletions

View file

@ -59,6 +59,7 @@ static bool wlr_wl_output_set_cursor(struct wlr_output *_output,
(struct wlr_wl_backend_output *)_output;
struct wlr_wl_backend *backend = output->backend;
// TODO: use output->wlr_output.transform to transform pixels and hotpot
output->cursor.hotspot_x = hotspot_x;
output->cursor.hotspot_y = hotspot_y;