[mutter] monitor-manager: Add yet another wacky "physical dimension"



commit 325fec31da120c9afd4402190d940e135867b626
Author: Dariusz Gadomski <dgadomski gmail com>
Date:   Mon Sep 24 09:50:27 2018 +0200

    monitor-manager: Add yet another wacky "physical dimension"

 src/backends/meta-monitor-manager.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c
index 02cb1619f..318bdd36b 100644
--- a/src/backends/meta-monitor-manager.c
+++ b/src/backends/meta-monitor-manager.c
@@ -929,7 +929,9 @@ meta_monitor_has_aspect_as_size (MetaMonitor *monitor)
 
   meta_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]