[mate-panel] 04/07: debian/patches: Add debian/patches/0001_no_scale.patch.
Mike Gabriel
sunweaver at debian.org
Tue Jul 25 09:49:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository mate-panel.
commit 6c414fb311e74a9cefad0806c3f72c5b0ef500da
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date: Tue Jul 18 15:37:08 2017 +0100
debian/patches: Add debian/patches/0001_no_scale.patch.
---
debian/patches/0001_no_scale.patch | 14 ++++++++++++++
debian/patches/series | 1 +
2 files changed, 15 insertions(+)
diff --git a/debian/patches/0001_no_scale.patch b/debian/patches/0001_no_scale.patch
new file mode 100644
index 0000000..967f3ce
--- /dev/null
+++ b/debian/patches/0001_no_scale.patch
@@ -0,0 +1,14 @@
+diff --git a/mate-panel/main.c b/mate-panel/main.c
+index 8355a22..e3241bc 100644
+--- a/mate-panel/main.c
++++ b/mate-panel/main.c
+@@ -84,6 +84,9 @@ main (int argc, char **argv)
+
+ gtk_init (&argc, &argv);
+
++ /* FIXME: High dpi scaling does not work... */
++ gdk_x11_display_set_window_scale (gdk_display_get_default (), 1);
++
+ error = NULL;
+ if (!g_option_context_parse (context, &argc, &argv, &error)) {
+ g_printerr ("%s\n", error->message);
diff --git a/debian/patches/series b/debian/patches/series
index 13cadd4..36a6f16 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001_memleak-fix.patch
1000_prevent_menubar_destruction_when_enabling_global_menus.patch
0000_add_gsettings_key_to_enable_sni.patch
+0001_no_scale.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-panel.git
More information about the pkg-mate-commits
mailing list