Due to legal issues with Apple, Compiz Fusion is not allowed to have the vacuum effect for minimizing windows. If you are determined to re-enable it, here's how:
If compiz is running right now, you should close it by pressing alt+f2 and then typing metacity --replace
Then open a terminal and run the following, or install the ghex package with the synaptic package manager.
Then modify the following 3 files:
sudo apt-get install ghex
1. sudo ghex2 /usr/lib/compiz/libanimation.so
Press control + f, and in the righthand box type "magic_lamp_max"
Click find, and change the three in
Save the file, and close.
2.) sudo ghex2 /usr/lib/compiz/libanimation.a
Press control + f, and in the righthand box type "magic_lamp_max"
Click find, and change the three in
Save the file, and close.
3.) sudo gedit /usr/share/compiz/animation.xml
Press control + f, and in the righthand box type "magic_lamp_max"
Click find. Scroll down a bit past the languages and change the three in
Save the file, and close.
Then open comiz again by running compiz --replace in an alt+f2 window
Good luck!
For more help see this forum thread