Make a description of ${cpu} variable not so confusing.
[monky] / src / common.c
index a1e18c2..73a269c 100644 (file)
@@ -167,7 +167,7 @@ void update_stuff()
                need_mask |= 1 << INFO_BUFFERS;
 
        /* clear speeds and up status in case device was removed and doesn't get
-        * updated */
+          updated */
 
        for (i = 0; i < 16; i++) {
                if (netstats[i].dev) {
@@ -226,11 +226,21 @@ void update_stuff()
        if (NEED(INFO_MPD))
                update_mpd();
 #endif
+
+#ifdef XMMS2
+       if (NEED(INFO_XMMS2))
+               update_xmms2();
+#endif
+
+#if defined(XMMS) || defined(BMP) || defined(AUDACIOUS) || defined(INFOPIPE)
+       if (NEED(INFO_XMMS))
+               update_xmms();
+#endif
 #ifdef BMPX
        if (NEED(INFO_BMPX))
-               update_bmpx();
+                update_bmpx();
 #endif
-       
+
        if (NEED(INFO_LOADAVG))
                update_load_average();