aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authornyorain <nyorain@gmail.com>2017-08-17 12:55:59 +0200
committernyorain <nyorain@gmail.com>2017-08-17 13:06:53 +0200
commitad22b4874dbe08b373f642860925056fba70795a (patch)
tree902c32735d8678180878a455c31b1cdc9f0f0fa2 /include/wlr
parentaf5db7a44c409f2f333d52ddf339f7604ffe1d3e (diff)
Fix wlr_seat; add to example compositor
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_seat.h3
1 files changed, 3 insertions, 0 deletions
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);