mutter/mutter-Lower-HIDPI_LIMIT-to-144.patch
Dominique Leuenberger 1a0a01ff27 Accepting request 677853 from home:qkzhu:branches:GNOME:Factory
- Add mutter-Lower-HIDPI_LIMIT-to-144.patch: mutter will set scaling
  factor to 2 when the monitor's dpi is greater than 144 (96*1.5) to
  keep GNOME's behavior consistent with YaST Installer (fate#326682,
  bsc#1125467).

OBS-URL: https://build.opensuse.org/request/show/677853
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=309
2019-02-21 11:33:36 +00:00

26 lines
749 B
Diff

From 1511039a96d158bcf4b731599ae3af3f98b9b166 Mon Sep 17 00:00:00 2001
From: Chingkai <qkzhu@suse.com>
Date: Thu, 21 Feb 2019 12:39:52 +0800
Subject: [PATCH] monitor: Lower HIDPI_LIMIT to 144
---
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 60f3674..e0db546 100644
--- a/src/backends/meta-monitor.c
+++ b/src/backends/meta-monitor.c
@@ -1476,7 +1476,7 @@ meta_monitor_calculate_crtc_pos (MetaMonitor *monitor,
}
/* The minimum resolution at which we turn on a window-scale of 2 */
-#define HIDPI_LIMIT 192
+#define HIDPI_LIMIT 144
/*
* The minimum screen height at which we turn on a window-scale of 2;
--
2.16.4