mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 10:18:01 +02:00
input: Send the seat name if the client advertises verson 2 of wl_seat
This commit is contained in:
parent
9af5f9e0fe
commit
e445ae69f2
1 changed files with 2 additions and 0 deletions
|
|
@ -1252,6 +1252,8 @@ bind_seat(struct wl_client *client, void *data, uint32_t version, uint32_t id)
|
|||
caps |= WL_SEAT_CAPABILITY_TOUCH;
|
||||
|
||||
wl_seat_send_capabilities(resource, caps);
|
||||
if (version >= 2)
|
||||
wl_seat_send_name(resource, seat->seat_name);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue