It's just a second unfinished work I've made to give the idea if someone want to work on something like that.
Only with buttons close and minimize; bad with small windows...
To work on KDE with Smaragd
I have not tested it on compiz/emerald
I made another who's work little better with Compiz but again awful with kinds of windows..