X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftint2;a=blobdiff_plain;f=src%2Ftint.c;h=794aefbefee0ca97efb5ff8f8bfd1ac2a74345c8;hp=1772681811fd6f981c32131fd5caa40557527a11;hb=cb9b34cd2126963c3650feeb48e036fb256e9660;hpb=055e4228a91f9957771e44cbdc540f20b2c3aa17 diff --git a/src/tint.c b/src/tint.c index 1772681..794aefb 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; @@ -803,6 +804,9 @@ start: if (select(x11_fd+1, &fdset, 0, 0, timeout) > 0) { while (XPending (server.dsp)) { XNextEvent(server.dsp, &e); + if (xsettings_client != NULL) { + xsettings_client_process_event(xsettings_client, &e); + } panel = get_panel(e.xany.window); if (panel && panel_autohide) {