X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftint.c;h=529e3cda0119a3d18bdaa829084bd10aeebcfeed;hb=fc22af941cf7b9db65a703e9e697490119c70ec2;hp=2f5edc6f0991cf429611982a31808646399dbca9;hpb=63bbffa4af17926ba2d52728883988eae402b07a;p=chaz%2Ftint2 diff --git a/src/tint.c b/src/tint.c index 2f5edc6..529e3cd 100644 --- a/src/tint.c +++ b/src/tint.c @@ -156,7 +156,6 @@ void init_X11() void cleanup() { - cleanup_timeout(); cleanup_systray(); cleanup_tooltip(); cleanup_clock(); @@ -174,6 +173,7 @@ void cleanup() imlib_context_disconnect_display(); cleanup_server(); + cleanup_timeout(); if (server.dsp) XCloseDisplay(server.dsp); } @@ -485,6 +485,11 @@ void event_property_notify (XEvent *e) server.got_root_win = 1; } + // Change name of desktops + else if (at == server.atom._NET_DESKTOP_NAMES) { + printf("_NET_DESKTOP_NAMES\n"); + panel_refresh = 1; + } // Change number of desktops else if (at == server.atom._NET_NUMBER_OF_DESKTOPS) { if (!taskbar_enabled) return;