[gnome-settings-daemon/wip/carlosg/xsettings-fixes: 4/5] xsettings: Handle properly changes to font settings
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/wip/carlosg/xsettings-fixes: 4/5] xsettings: Handle properly changes to font settings
- Date: Fri, 15 Jan 2021 17:32:23 +0000 (UTC)
commit 5b065ee0bcc47d8e1c1eb0584b123427438b0512
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Jan 13 12:18:50 2021 +0100
xsettings: Handle properly changes to font settings
These come from different schemas now, so plugin_callback() is not
the right place to look for changes anymore.
plugins/xsettings/gsd-xsettings-manager.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 518db192..5f1b4583 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -898,8 +898,6 @@ plugin_callback (GSettings *settings,
/* Do nothing, as GsdXsettingsGtk will handle it */
} else if (g_str_equal (key, XSETTINGS_OVERRIDE_KEY)) {
override_callback (settings, key, manager);
- } else {
- xft_callback (settings, key, manager);
}
}
@@ -1012,6 +1010,9 @@ xsettings_callback (GSettings *settings,
GVariant *value;
if (g_str_equal (key, TEXT_SCALING_FACTOR_KEY) ||
+ g_str_equal (key, FONT_ANTIALIASING_KEY) ||
+ g_str_equal (key, FONT_HINTING_KEY) ||
+ g_str_equal (key, FONT_RGBA_ORDER_KEY) ||
g_str_equal (key, CURSOR_SIZE_KEY) ||
g_str_equal (key, CURSOR_THEME_KEY)) {
xft_callback (NULL, key, manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]