mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01:00
Merge pull request #374 from emersion/set-cursor-event-serial
Add wlr_seat_pointer_request_set_cursor_event.serial
This commit is contained in:
commit
1d0973f6c8
2 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,7 @@ struct wlr_seat {
|
|||
struct wlr_seat_pointer_request_set_cursor_event {
|
||||
struct wlr_seat_client *seat_client;
|
||||
struct wlr_surface *surface;
|
||||
uint32_t serial;
|
||||
int32_t hotspot_x, hotspot_y;
|
||||
};
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ static void wl_pointer_set_cursor(struct wl_client *client,
|
|||
}
|
||||
event->seat_client = seat_client;
|
||||
event->surface = surface;
|
||||
event->serial = serial;
|
||||
event->hotspot_x = hotspot_x;
|
||||
event->hotspot_y = hotspot_y;
|
||||
|
||||
|
|
Loading…
Reference in a new issue