1
0
mirror of https://github.com/brl/mutter.git synced 2025-01-14 13:43:08 +00:00

monitor-manager: Always set the monitor info scale

https://bugzilla.gnome.org/show_bug.cgi?id=769505
This commit is contained in:
Jonas Ådahl 2016-08-01 17:30:16 +08:00
parent 6940169f46
commit 1f657d2c81

View File

@ -270,11 +270,10 @@ make_logical_config (MetaMonitorManager *manager)
info->outputs[0] = output;
info->n_outputs = 1;
info->scale = output->scale;
if (output->is_primary || info->winsys_id == 0)
{
info->scale = output->scale;
info->winsys_id = output->winsys_id;
}
info->winsys_id = output->winsys_id;
if (info->is_primary)
manager->primary_monitor_index = info->number;