summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xsettings/msd-xsettings-manager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/xsettings/msd-xsettings-manager.c b/plugins/xsettings/msd-xsettings-manager.c
index 80c8682..4293d18 100644
--- a/plugins/xsettings/msd-xsettings-manager.c
+++ b/plugins/xsettings/msd-xsettings-manager.c
@@ -391,6 +391,8 @@ xft_settings_set_xsettings (MateXSettingsManager *manager,
xsettings_manager_set_string (manager->priv->managers [i], "Xft/HintStyle", settings->hintstyle);
xsettings_manager_set_int (manager->priv->managers [i], "Xft/DPI", settings->dpi);
xsettings_manager_set_string (manager->priv->managers [i], "Xft/RGBA", settings->rgba);
+ xsettings_manager_set_string (manager->priv->managers [i], "Xft/lcdfilter",
+ g_str_equal (settings->rgba, "rgb") ? "lcddefault" : "none");
}
mate_settings_profile_end (NULL);
}
@@ -452,6 +454,8 @@ xft_settings_set_xresources (MateXftSettings *settings)
settings->hintstyle);
update_property (add_string, "Xft.rgba",
settings->rgba);
+ update_property (add_string, "Xft.lcdfilter",
+ g_str_equal (settings->rgba, "rgb") ? "lcddefault" : "none");
g_debug("xft_settings_set_xresources: new res '%s'", add_string->str);