[gnome-shell] shell-global: Don't set the clutter font DPI
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] shell-global: Don't set the clutter font DPI
- Date: Fri, 14 Jul 2017 13:12:20 +0000 (UTC)
commit 5962be390412db692e93b5360e1bb8334d59412a
Author: Jonas Ådahl <jadahl gmail com>
Date: Thu May 11 12:22:27 2017 +0800
shell-global: Don't set the clutter font DPI
The clutter font DPI is managed by libmutter.
https://bugzilla.gnome.org/show_bug.cgi?id=765011
src/shell-global.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/shell-global.c b/src/shell-global.c
index bdaaaed..855f625 100644
--- a/src/shell-global.c
+++ b/src/shell-global.c
@@ -844,17 +844,7 @@ update_scaling_factor (ShellGlobal *global,
int scaling_factor;
scaling_factor = meta_settings_get_ui_scaling_factor (settings);
-
g_object_set (context, "scale-factor", scaling_factor, NULL);
- if (meta_is_wayland_compositor ())
- {
- GtkSettings *gtk_settings = gtk_settings_get_default ();
- int xft_dpi;
-
- g_object_get (gtk_settings, "gtk-xft-dpi", &xft_dpi, NULL);
- g_object_set (clutter_settings_get_default (), "font-dpi", xft_dpi, NULL);
- }
-
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]