[mate-panel] 01/02: debian/patches: Add debian/patches/0001_no_scale.patch.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Tue Jul 18 14:37:44 UTC 2017


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

flexiondotorg-guest pushed a commit to branch ubuntu/artful
in repository mate-panel.

commit f90bbb143138895da6280c68475ed3f293a03611
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 b9f4454..48eb846 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 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