Add wlr_seat_pointer_request_set_cursor_event.serial

This commit is contained in:
emersion 2017-11-01 18:15:37 +01:00
parent 0d9d670dbd
commit 0df7a3c22d
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
2 changed files with 2 additions and 0 deletions

View File

@ -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;
};

View File

@ -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;