mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Fix wlr_seat; add to example compositor
This commit is contained in:
parent
af5db7a44c
commit
ad22b4874d
6 changed files with 165 additions and 35 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue