Fix cursor hotspot with rotated outputs on DRM backend

This commit is contained in:
emersion 2017-10-29 18:45:53 +01:00
parent 4230a577cc
commit c3b09f73da
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 44 additions and 55 deletions

View file

@ -34,6 +34,7 @@ struct wlr_drm_plane {
struct wlr_texture *wlr_tex;
struct gbm_bo *cursor_bo;
bool cursor_enabled;
int32_t cursor_hotspot_x, cursor_hotspot_y;
union wlr_drm_plane_props props;
};