[mutter] monitor-manager: Initialize tiled logical monitor scale
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] monitor-manager: Initialize tiled logical monitor scale
- Date: Wed, 25 Jan 2017 08:33:49 +0000 (UTC)
commit f519093f891b7575f5a7bd6b7ec2d51dcd481d9c
Author: Jonas Ådahl <jadahl gmail com>
Date: Wed Dec 7 16:28:11 2016 +0800
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c
index 2aacb9d..7b7fe3c 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]