backend/drm: support updating cursor when session is paused

This commit is contained in:
emersion 2018-02-02 21:01:59 +01:00
parent 5aa642485d
commit bb4aeb3b2f
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 18 additions and 9 deletions

View file

@ -123,8 +123,8 @@ struct wlr_drm_connector {
union wlr_drm_connector_props props;
uint32_t width;
uint32_t height;
uint32_t width, height;
int32_t cursor_x, cursor_y;
drmModeCrtc *old_crtc;