mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-12 13:29:45 -05:00
Add request_set_cursor event
This commit is contained in:
parent
3f4ccd0558
commit
78d3582b70
2 changed files with 30 additions and 6 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue