monitor-manager: Get monitor info scale from main output tile

We didn't ever set the monitor info scale for tiled outputs; lets do
that by taking it from the main output.

https://bugzilla.gnome.org/show_bug.cgi?id=777470
This commit is contained in:
Jonas Ådahl 2017-01-26 23:56:46 +08:00
parent 23c315ea71
commit d4d3dbd088

View File

@ -135,6 +135,7 @@ construct_tile_monitor (MetaMonitorManager *manager,
info.width_mm = output->width_mm;
info.height_mm = output->height_mm;
info.winsys_id = output->winsys_id;
info.scale = output->scale;
}
/* hack */