projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af5f9e
)
input: Send the seat name if the client advertises verson 2 of wl_seat
author
Rob Bradford
<rob@linux.intel.com>
Fri, 31 May 2013 17:09:51 +0000
(18:09 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 5 Jun 2013 04:17:43 +0000
(
00:17
-0400)
src/input.c
patch
|
blob
|
history
diff --git
a/src/input.c
b/src/input.c
index
ae75054
..
d299d98
100644
(file)
--- a/
src/input.c
+++ b/
src/input.c
@@
-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