Take a look at aewm++_fspanel program. Here is the source:

http://ftp.de.debian.org/debian/pool....0.orig.tar.gz

Hope it helps....