Merge pull request #374 from emersion/set-cursor-event-serial

Add wlr_seat_pointer_request_set_cursor_event.serial
This commit is contained in:
Drew DeVault 2017-11-01 13:18:46 -04:00 committed by GitHub
commit 1d0973f6c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;