compositor-rpi: give the output a name

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Derek Foreman 2015-03-17 13:22:36 -05:00 committed by Pekka Paalanen
parent f3723d911f
commit 8f1b32f7d0

View File

@ -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);