[mate-desktop] 01/02: debian/patches: Add 0001_hidpi: Add HiDPI support.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Tue Feb 6 14:17:12 UTC 2018


This is an automated email from the git hooks/post-receive script.

flexiondotorg-guest pushed a commit to branch ubuntu/bionic
in repository mate-desktop.

commit 437b77a0808e90ab16a931a4dc70909227f90a7f
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date:   Tue Feb 6 14:14:34 2018 +0000

    debian/patches: Add 0001_hidpi: Add HiDPI support.
---
 debian/patches/0001_hidpi.patch | 16 ++++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/0001_hidpi.patch b/debian/patches/0001_hidpi.patch
new file mode 100644
index 0000000..4b592de
--- /dev/null
+++ b/debian/patches/0001_hidpi.patch
@@ -0,0 +1,16 @@
+diff --git a/schemas/org.mate.interface.gschema.xml.in b/schemas/org.mate.interface.gschema.xml.in
+index 9080dbc..605c2e1 100644
+--- a/schemas/org.mate.interface.gschema.xml.in
++++ b/schemas/org.mate.interface.gschema.xml.in
+@@ -170,5 +170,11 @@
+       <summary>Only show mnemonics on when the Alt key is pressed</summary>
+       <description>Whether mnemonics should be automatically shown and hidden when the user presses the Alt key.</description>
+     </key>
++    <key name="window-scaling-factor" type="i">
++      <default>0</default>
++      <range min="0" max="2"/>
++      <summary>Window Scaling Factor</summary>
++      <description>Internal scale factor that maps from window coordiantes to the actual device pixels. On traditional systems this is 1, but on very high density displays (e.g. HiDPI, Retina) this can be a higher value (often 2). Set to 0 to auto-detect. After changing this value, the window manager, the panel, and the desktop (caja) may need to be restarted.</description>
++    </key>
+   </schema>
+ </schemalist>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..81bc6db
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001_hidpi.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-desktop.git



More information about the pkg-mate-commits mailing list