From ad22b4874dbe08b373f642860925056fba70795a Mon Sep 17 00:00:00 2001 From: nyorain Date: Thu, 17 Aug 2017 12:55:59 +0200 Subject: Fix wlr_seat; add to example compositor --- include/wlr/types/wlr_seat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h index 15efa486..99c09258 100644 --- a/include/wlr/types/wlr_seat.h +++ b/include/wlr/types/wlr_seat.h @@ -27,6 +27,7 @@ struct wlr_seat { struct { struct wl_signal client_bound; struct wl_signal client_unbound; + struct wl_signal keyboard_bound; } events; void *data; @@ -49,10 +50,12 @@ struct wlr_seat_handle *wlr_seat_handle_for_client(struct wlr_seat *wlr_seat, struct wl_client *client); /** * Updates the capabilities available on this seat. + * Will automatically send them to all clients. */ void wlr_seat_set_capabilities(struct wlr_seat *wlr_seat, uint32_t capabilities); /** * Updates the name of this seat. + * Will automatically send it to all clients. */ void wlr_seat_set_name(struct wlr_seat *wlr_seat, const char *name); -- cgit v1.2.3