I would love this too, have you seen the latest xgl vids....
http://www.novell.com/linux/xglrelease/
I think they do this somewhere...

Well i would like to drag a windows title bar to the side of my desktop and say if i leave it there for 2seconds it docks, and i can drag it away again.

I have no idea how to help you, but if you do it, it would be great.