First of all credits go to a user in gentoo forum. His nick is hoarycripple.
He made a patch to improve the xorg drop shadow.
I found that his patch also didn't fit my needs so i tweaked it a little bit.
Screenshot 1 - Shows the default shadow of xcompmgr.
Screenshot 2 - More Osx like than before.
I (and hoarycripple on gentoo) found it unnatural and ugly that a window drops a shadow that surrounds every edge of it.So in my patch only 3 edges are surrounded like in OSX.
How to use:
1.Backup your original xcompmgr file
2.Download xcompmgr-0.1_pre20040821.tar.bz2 (it works stable for me)
3.Unpack and put my diff in this directory
4.In this directory type
patch -p0 < patch_xcompmgr.diff
./configure && make
and test it !
Move it to a direction other than your original xcompmgr and test it with full path !
If some good coder reads it:
My idea to improve the shadows:
Makes it more realistic. We needs at least two layers of shadows.The topmost window and every window under it.The topmost must have the greatest shadowradius and the other only the half or less ! So we get real 3D depth like in OSX.Perhaps one could hack a function for xcompmgr that changes the shadow values dynamicly ? thomas17111 perhaps :)