I used teh google to look for examples of creating non-rectangular windows.. which it seems you want to do:

http://www.ida.liu.se/~TDDB28/kursbi...t/examples/tux

Good luck with it...