[mate-control-center] 01/05: debian/patches: Drop 0003_scale_cursor_when_changing_themes.patch.
Martin Wimpress
flexiondotorg-guest at moszumanska.debian.org
Mon Mar 26 21:43:49 UTC 2018
This is an automated email from the git hooks/post-receive script.
flexiondotorg-guest pushed a commit to branch master
in repository mate-control-center.
commit 0762456551aed87d64f450c44d96a34dbb4d3d8a
Author: Martin Wimpress <martin.wimpress at ubuntu.com>
Date: Mon Mar 26 22:04:01 2018 +0100
debian/patches: Drop 0003_scale_cursor_when_changing_themes.patch.
---
.../0003_scale_cursor_when_changing_themes.patch | 32 ----------------------
debian/patches/series | 1 -
2 files changed, 33 deletions(-)
diff --git a/debian/patches/0003_scale_cursor_when_changing_themes.patch b/debian/patches/0003_scale_cursor_when_changing_themes.patch
deleted file mode 100644
index d9c4f2b..0000000
--- a/debian/patches/0003_scale_cursor_when_changing_themes.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Author: Victor Kareh <vkareh at vkareh.net>
-Description: Scale cursor size for HiDPI when changing themes
-
-diff --git a/capplets/common/mate-theme-info.c b/capplets/common/mate-theme-info.c
-index 678e11f..3012c9b 100644
---- a/capplets/common/mate-theme-info.c
-+++ b/capplets/common/mate-theme-info.c
-@@ -32,6 +32,7 @@
- #include <glib/gi18n.h>
- #include <gmodule.h>
- #include <gtk/gtk.h>
-+#include <gdk/gdk.h>
- #include <gdk/gdkx.h>
- #include <gio/gio.h>
- #include <string.h>
-@@ -383,6 +384,8 @@ MateThemeMetaInfo* mate_theme_read_meta_theme(GFile* meta_theme_uri)
-
- str = mate_desktop_item_get_string(meta_theme_ditem, CURSOR_THEME_KEY);
-
-+ GdkWindow *window = gdk_get_default_root_window ();
-+ gint scale = gdk_window_get_scale_factor (window);
- if (str != NULL)
- {
- meta_theme_info->cursor_theme_name = g_strdup(str);
-@@ -399,6 +402,7 @@ MateThemeMetaInfo* mate_theme_read_meta_theme(GFile* meta_theme_uri)
- meta_theme_info->cursor_theme_name = g_strdup("default");
- meta_theme_info->cursor_size = 18;
- }
-+ meta_theme_info->cursor_size *= scale;
-
- str = mate_desktop_item_get_string(meta_theme_ditem, APPLICATION_FONT_KEY);
-
diff --git a/debian/patches/series b/debian/patches/series
index 4aa0a32..d7c348d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
0000_hidpi.patch
0001_fix_screen_geometry_when_snapping.patch
0002_add_auto-detect_toggle.patch
-0003_scale_cursor_when_changing_themes.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-control-center.git
More information about the pkg-mate-commits
mailing list