[PATCH 2/3] weston:Add wl_output name event

Quanxian Wang quanxian.wang at intel.com
Thu Mar 13 19:27:05 PDT 2014


Signed-off-by: Quanxian Wang <quanxian.wang at intel.com>
---
 src/compositor.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/compositor.c b/src/compositor.c
index 98a4f6f..8e8964b 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -3045,6 +3045,9 @@ bind_output(struct wl_client *client,
 	}
 
 	if (version >= 2)
+		wl_output_send_name(resource, output->name);
+
+	if (version >= 2)
 		wl_output_send_done(resource);
 }
 
-- 
1.8.1.2



More information about the wayland-devel mailing list