Add request_set_cursor event

This commit is contained in:
emersion 2017-10-05 13:11:51 +02:00
parent 3f4ccd0558
commit 78d3582b70
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 30 additions and 6 deletions

View file

@ -125,11 +125,20 @@ struct wlr_seat {
struct wl_signal keyboard_grab_begin;
struct wl_signal keyboard_grab_end;
struct wl_signal request_set_cursor;
} events;
void *data;
};
struct wlr_seat_pointer_request_set_cursor_event {
struct wl_client *client;
struct wlr_seat_handle *seat_handle;
struct wlr_surface *surface;
int32_t hotspot_x, hotspot_y;
};
/**
* Allocates a new wlr_seat and adds a wl_seat global to the display.
*/