summaryrefslogtreecommitdiff
path: root/src/backends/meta-monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/meta-monitor.c')
-rw-r--r--src/backends/meta-monitor.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backends/meta-monitor.c b/src/backends/meta-monitor.c
index 9f32354de..e35da7d70 100644
--- a/src/backends/meta-monitor.c
+++ b/src/backends/meta-monitor.c
@@ -1523,10 +1523,7 @@ calculate_scale (MetaMonitor *monitor,
* Somebody encoded the aspect ratio (16/9 or 16/10) instead of the physical
* size.
*/
- if ((width_mm == 160 && height_mm == 90) ||
- (width_mm == 160 && height_mm == 100) ||
- (width_mm == 16 && height_mm == 9) ||
- (width_mm == 16 && height_mm == 10))
+ if (meta_monitor_has_aspect_as_size (monitor))
goto out;
if (width_mm > 0 && height_mm > 0)