From e445ae69f28dcd7422c6ece51a4acde0e5caf9a3 Mon Sep 17 00:00:00 2001
From: Rob Bradford <rob@linux.intel.com>
Date: Fri, 31 May 2013 18:09:51 +0100
Subject: [PATCH] input: Send the seat name if the client advertises verson 2
 of wl_seat

---
 src/input.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/input.c b/src/input.c
index ae750549d..d299d98d9 100644
--- 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
-- 
GitLab