From 5962be390412db692e93b5360e1bb8334d59412a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Thu, 11 May 2017 12:22:27 +0800 Subject: [PATCH] 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 file changed, 10 deletions(-) diff --git a/src/shell-global.c b/src/shell-global.c index bdaaaedbf..855f6257c 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