After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 755431 - xsettings: cursor-size changes are missed
xsettings: cursor-size changes are missed
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: xsettings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2015-09-22 17:56 UTC by Matthias Clasen
Modified: 2015-09-23 15:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2015-09-22 17:56:19 UTC
The xsettings_callback is ignoring cursor-size changes since there's not translation entry for this key - it is supposed to be handled by xfg_callback, but we're not calling it :-(

This should fix it: 

@@ -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;
        }
Comment 1 Bastien Nocera 2015-09-23 15:26:20 UTC
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