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



commit e6ebb3a0d19e6fa7558bb94b77e59423cc64fd94
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]