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:
parent
6940169f46
commit
1f657d2c81
@ -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…
Reference in New Issue
Block a user