[gnome-flashback] monitor-manager: add yet another wacky "physical dimension"



commit 39d49ddd9543ba069a9b7e25b88af6277a3d8cfd
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Jul 16 23:14:31 2019 +0300

    monitor-manager: add yet another wacky "physical dimension"
    
    Based on mutter commit:
    https://gitlab.gnome.org/GNOME/mutter/commit/325fec31da120c9afd44

 backends/gf-monitor.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/backends/gf-monitor.c b/backends/gf-monitor.c
index a025952..2afe0d3 100644
--- a/backends/gf-monitor.c
+++ b/backends/gf-monitor.c
@@ -1091,7 +1091,9 @@ gf_monitor_has_aspect_as_size (GfMonitor *monitor)
 
   gf_monitor_get_physical_dimensions (monitor, &width_mm, &height_mm);
 
-  return (width_mm == 160 && height_mm == 90) ||
+  return (width_mm == 1600 && height_mm == 900) ||
+         (width_mm == 1600 && height_mm == 1000) ||
+         (width_mm == 160 && height_mm == 90) ||
          (width_mm == 160 && height_mm == 100) ||
          (width_mm == 16 && height_mm == 9) ||
          (width_mm == 16 && height_mm == 10);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]