]> Dogcows Code - chaz/tint2/blobdiff - src/tint.c
XSETTINGS manager : reload icons when theme changed (gnome, xfce, ...).
[chaz/tint2] / src / tint.c
index 1772681811fd6f981c32131fd5caa40557527a11..0e8cad8adadf6614da927ea4f337df658d4ff8fa 100644 (file)
@@ -42,6 +42,7 @@
 #include "panel.h"
 #include "tooltip.h"
 #include "timer.h"
+#include "xsettings-client.h"
 
 
 void signal_handler(int sig)
@@ -135,7 +136,7 @@ void init_X11()
        setlocale (LC_ALL, "");
        // config file use '.' as decimal separator
        setlocale(LC_NUMERIC, "POSIX");
-
+       
        // load default icon
        gchar *path;
        const gchar * const *data_dirs;
@@ -479,6 +480,8 @@ void event_property_notify (XEvent *e)
        Window win = e->xproperty.window;
        Atom at = e->xproperty.atom;
 
+       if (xsettings_client)
+               xsettings_client_process_event(xsettings_client, e);
        if (win == server.root_win) {
                if (!server.got_root_win) {
                        XSelectInput (server.dsp, server.root_win, PropertyChangeMask|StructureNotifyMask);
This page took 0.0211 seconds and 4 git commands to generate.