- don't try to lookup a nonexistent string in an array to provide a text version
of intr/idle
- fix muddled-up cpu time types due to reordering
- stack 'spin' time ont the cpu display (in cyan)
"The problem is that XCopyArea generates either a GraphicsExpose or
a NoExpose event after it's done. Since xstatbar doesn't have the
traditional X event loop, the events just accumulate in the queue."
stored in an extra element of an array, however the array allocation size was
not increased to match. Fix. Found by valgrind while investigating a leak.
if devinfo.type != AUDIO_MIXER_CLASS is true, xstatbar will never make
progress and loop forever. Fix it by trying the next device.
from Tobias Ulmer, thanks!
ok jasper@ landry@
xstatbar is a simple system monitor that shows various stats in an X
window that's immovable and not part of your tab-order. It was built to
go with tiling window managers like scrotwm and xmonad where you can
configure a small region of the screen as "off-limits" for windows.