[mutter/gnome-3-22] monitor-manager: Get monitor info scale from main output tile
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-22] monitor-manager: Get monitor info scale from main output tile
- Date: Fri, 3 Feb 2017 10:05:58 +0000 (UTC)
commit d4d3dbd0882a272a39dcbd9e7772995c7c2165b8
Author: Jonas Ådahl <jadahl gmail com>
Date: Thu Jan 26 23:56:46 2017 +0800
monitor-manager: Get monitor info scale from main output tile
We didn't ever set the monitor info scale for tiled outputs; lets do
that by taking it from the main output.
https://bugzilla.gnome.org/show_bug.cgi?id=777470
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 cefb13d..7a278bc 100644
--- a/src/backends/meta-monitor-manager.c
+++ b/src/backends/meta-monitor-manager.c
@@ -135,6 +135,7 @@ construct_tile_monitor (MetaMonitorManager *manager,
info.width_mm = output->width_mm;
info.height_mm = output->height_mm;
info.winsys_id = output->winsys_id;
+ info.scale = output->scale;
}
/* hack */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]