From 84ee785399298ae59ac34fce8da3a5bc8ae1159a Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 21 Jan 2018 22:40:09 +0100 Subject: [PATCH] monitor: Set MINIMUM_LOGICAL_HEIGHT to 480 Using 800x600 as minimum logical size is very 4:3 thinking, while a lot of modern devices are 16:9. The specific reason for this commit is to allow 1.5 scaling at mini-laptops (clamshell devices) with e.g. a 5.5" 1280x720 screen. Given that this device has a keyboard, one obviously is not holding it very close to ones eyes and at 220 dpi that means the text is too small at scale 1.0. For one real world example of such a device see: https://en.wikipedia.org/wiki/GPD_Win https://bugzilla.gnome.org/show_bug.cgi?id=792765 --- src/backends/meta-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/meta-monitor.c b/src/backends/meta-monitor.c index f9233251c..9c58ccb9f 100644 --- a/src/backends/meta-monitor.c +++ b/src/backends/meta-monitor.c @@ -31,7 +31,7 @@ #define MINIMUM_SCALE_FACTOR 1.0f #define MAXIMUM_SCALE_FACTOR 4.0f #define MINIMUM_LOGICAL_WIDTH 800 -#define MINIMUM_LOGICAL_HEIGHT 600 +#define MINIMUM_LOGICAL_HEIGHT 480 #define MAXIMUM_REFRESH_RATE_DIFF 0.001 typedef struct _MetaMonitorMode