[marco] 01/03: debian/patches: Add debian/patches/0000_no_scale.patch.

Mike Gabriel sunweaver at debian.org
Mon Jul 24 13:52:16 UTC 2017


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

sunweaver pushed a commit to branch master
in repository marco.

commit 350c635c7076fbf33c2c82af1864877140752cfc
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date:   Tue Jul 18 15:43:04 2017 +0100

    debian/patches: Add debian/patches/0000_no_scale.patch.
---
 debian/patches/0000_no_scale.patch | 16 ++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/0000_no_scale.patch b/debian/patches/0000_no_scale.patch
new file mode 100644
index 0000000..3e12cde
--- /dev/null
+++ b/debian/patches/0000_no_scale.patch
@@ -0,0 +1,16 @@
+diff --git a/src/ui/ui.c b/src/ui/ui.c
+index 2c1747f..9ed9e8b 100644
+--- a/src/ui/ui.c
++++ b/src/ui/ui.c
+@@ -62,6 +62,11 @@ void meta_ui_init(int* argc, char*** argv)
+ 	{
+ 		meta_fatal ("Unable to open X display %s\n", XDisplayName (NULL));
+ 	}
++
++  /* We need to be able to fully trust that the window and monitor sizes
++   * that GDK reports corresponds to the X ones, so we disable the automatic
++   * scale handling */
++  gdk_x11_display_set_window_scale (gdk_display_get_default (), 1);
+ }
+ 
+ Display* meta_ui_get_display(void)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..260c82a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0000_no_scale.patch

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



More information about the pkg-mate-commits mailing list