Fix disabled cursors

This commit is contained in:
emersion 2017-11-02 11:37:43 +01:00
parent 63a46c6550
commit d11973ed7d
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 15 additions and 15 deletions

View file

@ -15,10 +15,12 @@ struct wlr_output_mode {
struct wlr_output_cursor {
struct wlr_output *output;
int32_t x, y;
bool enabled;
uint32_t width, height;
int32_t hotspot_x, hotspot_y;
struct wl_list link;
// only when using a software cursor without a surface
struct wlr_renderer *renderer;
struct wlr_texture *texture;