mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-07 14:06:00 +01:00
Add wlr_seat_pointer_request_set_cursor_event.serial
This commit is contained in:
parent
0d9d670dbd
commit
0df7a3c22d
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_pointer_request_set_cursor_event {
|
||||||
struct wlr_seat_client *seat_client;
|
struct wlr_seat_client *seat_client;
|
||||||
struct wlr_surface *surface;
|
struct wlr_surface *surface;
|
||||||
|
uint32_t serial;
|
||||||
int32_t hotspot_x, hotspot_y;
|
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->seat_client = seat_client;
|
||||||
event->surface = surface;
|
event->surface = surface;
|
||||||
|
event->serial = serial;
|
||||||
event->hotspot_x = hotspot_x;
|
event->hotspot_x = hotspot_x;
|
||||||
event->hotspot_y = hotspot_y;
|
event->hotspot_y = hotspot_y;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue