diff options
author | emersion <contact@emersion.fr> | 2017-10-05 13:11:51 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-10-08 20:32:43 +0200 |
commit | 78d3582b70dcd823c3675806bcbda6776282eb6f (patch) | |
tree | 632e18527e3c0716925894fc1b9e3e00d3d02f6d /include | |
parent | 3f4ccd0558a962558625ca61cfb7320cffd33b8a (diff) |
Add request_set_cursor event
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_seat.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index d3d3e00d..d267924c 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -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. */ |