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
This commit is contained in:
parent
0feb5a94a0
commit
1a0a01ff27
25
mutter-Lower-HIDPI_LIMIT-to-144.patch
Normal file
25
mutter-Lower-HIDPI_LIMIT-to-144.patch
Normal file
@ -0,0 +1,25 @@
|
||||
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
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 21 04:42:37 UTC 2019 - qkzhu@suse.com
|
||||
|
||||
- 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).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 14 09:26:14 UTC 2018 - bjorn.lie@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package mutter
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -33,6 +33,8 @@ Patch0: mutter-fix-startup.patch
|
||||
Patch1: mutter-iconcache-Support-RGB16_565-format-for-16-bit-color-.patch
|
||||
# PATCH-FIX-OPENSUSE mutter-xwayland-create-xauthority.patch bsc#1084737 hpj@suse.com -- Create and pass an Xauthority file to Xwayland and session
|
||||
Patch2: mutter-xwayland-create-xauthority.patch
|
||||
# PATCH-FIX-OPENSUSE mutter-Lower-HIDPI_LIMIT-to-144.patch fate#326682, bsc#1125467 qkzhu@suse.com -- Lower HIDPI_LIMIT to 144
|
||||
Patch3: mutter-Lower-HIDPI_LIMIT-to-144.patch
|
||||
## SLE-only patches start at 1000
|
||||
# PATCH-FEATURE-SLE mutter-SLE-bell.patch FATE#316042 bnc#889218 idonmez@suse.com -- make audible bell work out of the box.
|
||||
Patch1000: mutter-SLE-bell.patch
|
||||
@ -143,6 +145,7 @@ applications that want to make use of the mutter library.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
# SLE-only patches and translations.
|
||||
translation-update-upstream
|
||||
|
Loading…
x
Reference in New Issue
Block a user