[PATCH weston 3/5] compositor-rpi: give the output a name

Derek Foreman derekf at osg.samsung.com
Tue Mar 17 11:22:36 PDT 2015


Signed-off-by: Derek Foreman <derekf at osg.samsung.com>
---
 src/compositor-rpi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compositor-rpi.c b/src/compositor-rpi.c
index 2d72686..bceb280 100644
--- a/src/compositor-rpi.c
+++ b/src/compositor-rpi.c
@@ -344,6 +344,7 @@ rpi_output_create(struct rpi_compositor *compositor, uint32_t transform)
 	output->base.subpixel = WL_OUTPUT_SUBPIXEL_UNKNOWN;
 	output->base.make = "unknown";
 	output->base.model = "unknown";
+	output->base.name = strdup("rpi");
 
 	/* guess 96 dpi */
 	mm_width  = modeinfo.width * (25.4f / 96.0f);
-- 
2.1.4



More information about the wayland-devel mailing list