[gnome-settings-daemon] xsettings: Fix cursor-size changes being ignored



commit d4a833907f5ef0ef1e59b69faafb60293cc191d2
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Sep 23 17:24:09 2015 +0200

    xsettings: Fix cursor-size changes being ignored
    
    The GSettings callback wasn't calling Xft when the cursor size
    configuration changed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755431

 plugins/xsettings/gsd-xsettings-manager.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 5b3a866..b2e65e7 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -1033,7 +1033,8 @@ xsettings_callback (GSettings             *settings,
         GVariant         *value;
 
         if (g_str_equal (key, TEXT_SCALING_FACTOR_KEY) ||
-            g_str_equal (key, SCALING_FACTOR_KEY)) {
+            g_str_equal (key, SCALING_FACTOR_KEY) ||
+            g_str_equal (key, CURSOR_SIZE_KEY)) {
                xft_callback (NULL, key, manager);
                return;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]