aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-01 18:15:37 +0100
committeremersion <contact@emersion.fr>2017-11-01 18:15:37 +0100
commit0df7a3c22d3d6c2bc8969f1c4e4d10e2aa148325 (patch)
treef58819165915678d3b1f1a009772019d6c754d85
parent0d9d670dbdb62ebf78346119b588a9043d876f7e (diff)
Add wlr_seat_pointer_request_set_cursor_event.serial
-rw-r--r--include/wlr/types/wlr_seat.h1
-rw-r--r--types/wlr_seat.c1
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;