diff options
-rw-r--r-- | include/wlr/types/wlr_seat.h | 1 | ||||
-rw-r--r-- | types/wlr_seat.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index b1872a3d..b8b467d2 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -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; }; diff --git a/types/wlr_seat.c b/types/wlr_seat.c index 1e01c058..bdea96ac 100644 --- a/types/wlr_seat.c +++ b/types/wlr_seat.c @@ -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; |