X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftint.c;h=0e8cad8adadf6614da927ea4f337df658d4ff8fa;hb=ce3940e57a3f92d2179263a4c734748d81d6e75f;hp=1772681811fd6f981c32131fd5caa40557527a11;hpb=1c1cfea95e549170ede1eaf05240b935aa2186a9;p=chaz%2Ftint2 diff --git a/src/tint.c b/src/tint.c index 1772681..0e8cad8 100644 --- a/src/tint.c +++ b/src/tint.c @@ -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);