[gnome-settings-daemon] xsettings: Export cursor size to X resources



commit 5852428ae909f8965c91bdddd02fbd21e9b6994e
Author: Jan Alexander Steffens (heftig) <jan steffens gmail com>
Date:   Tue Apr 14 15:59:10 2015 +0200

    xsettings: Export cursor size to X resources
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747856

 plugins/xsettings/gsd-xsettings-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 3357e02..5b3a866 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -821,6 +821,8 @@ xft_settings_set_xresources (GnomeXftSettings *settings)
                                 settings->hintstyle);
         update_property (add_string, "Xft.rgba",
                                 settings->rgba);
+        update_property (add_string, "Xcursor.size",
+                                g_ascii_dtostr (dpibuf, sizeof (dpibuf), (double) settings->cursor_size));
 
         g_debug("xft_settings_set_xresources: new res '%s'", add_string->str);
 


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