From f519093f891b7575f5a7bd6b7ec2d51dcd481d9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 7 Dec 2016 16:28:11 +0800 Subject: [PATCH] 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 --- src/backends/meta-monitor-manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c index 2aacb9d90..7b7fe3c2e 100644 --- a/src/backends/meta-monitor-manager.c +++ b/src/backends/meta-monitor-manager.c @@ -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,