From 1f657d2c81870192bf90266662ca8890c2deac53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 1 Aug 2016 17:30:16 +0800 Subject: [PATCH] monitor-manager: Always set the monitor info scale https://bugzilla.gnome.org/show_bug.cgi?id=769505 --- src/backends/meta-monitor-manager.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c index 8fb79fc61..cefb13df7 100644 --- a/src/backends/meta-monitor-manager.c +++ b/src/backends/meta-monitor-manager.c @@ -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;