monitor-manager: Initialize tiled logical monitor scale

The logical monitor scale were not initialized properly when created
for a tiled monitor. Set it to the scale of the main monitor tile.

https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
Jonas Ådahl 2016-12-07 16:28:11 +08:00
parent 8a8ab6c673
commit f519093f89

View File

@ -148,6 +148,7 @@ construct_tile_monitor (MetaMonitorManager *manager,
logical_monitor->height_mm = output->height_mm;
logical_monitor->winsys_id = output->winsys_id;
logical_monitor->scale = output->scale;
logical_monitor->rect.x = output->crtc->rect.x;
logical_monitor->rect.y = output->crtc->rect.y;
calculate_tiled_monitor_size (manager, output->tile_info.group_id,