monitor-manager: Always set the monitor info scale
https://bugzilla.gnome.org/show_bug.cgi?id=769505
This commit is contained in:
parent
6940169f46
commit
1f657d2c81
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue