[gnome-flashback/gnome-3-26] monitor: Set MINIMUM_LOGICAL_HEIGHT to 480
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback/gnome-3-26] monitor: Set MINIMUM_LOGICAL_HEIGHT to 480
- Date: Wed, 24 Jan 2018 14:47:56 +0000 (UTC)
commit ce8406a34841c135e361caf197a070c689d1ffea
Author: Hans de Goede <hdegoede redhat com>
Date: Sun Jan 21 22:40:09 2018 +0100
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
backends/gf-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/gf-monitor.c b/backends/gf-monitor.c
index aef8860..e72dfe6 100644
--- a/backends/gf-monitor.c
+++ b/backends/gf-monitor.c
@@ -35,7 +35,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
/* The minimum screen height at which we turn on a window-scale of 2;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]