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>
dev
Derek Foreman 10 years ago committed by Pekka Paalanen
parent f3723d911f
commit 8f1b32f7d0
  1. 1
      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.subpixel = WL_OUTPUT_SUBPIXEL_UNKNOWN;
output->base.make = "unknown"; output->base.make = "unknown";
output->base.model = "unknown"; output->base.model = "unknown";
output->base.name = strdup("rpi");
/* guess 96 dpi */ /* guess 96 dpi */
mm_width = modeinfo.width * (25.4f / 96.0f); mm_width = modeinfo.width * (25.4f / 96.0f);

Loading…
Cancel
Save